| To: | LKML <linux-kernel@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH 14/17] xfs: Use new syncing helper |
| From: | Jan Kara <jack@xxxxxxx> |
| Date: | Wed, 19 Aug 2009 18:04:41 +0200 |
| Cc: | hch@xxxxxxxxxxxxx, Jan Kara <jack@xxxxxxx>, Felix Blyakher <felixb@xxxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <1250697884-22288-1-git-send-email-jack@xxxxxxx> |
| References: | <1250697884-22288-1-git-send-email-jack@xxxxxxx> |
Use new generic_write_sync() helper from xfs_write().
CC: Felix Blyakher <felixb@xxxxxxx>
CC: xfs@xxxxxxxxxxx
Signed-off-by: Jan Kara <jack@xxxxxxx>
---
fs/xfs/linux-2.6/xfs_lrw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_lrw.c b/fs/xfs/linux-2.6/xfs_lrw.c
index 7078974..aeb5a39 100644
--- a/fs/xfs/linux-2.6/xfs_lrw.c
+++ b/fs/xfs/linux-2.6/xfs_lrw.c
@@ -817,7 +817,7 @@ write_retry:
xfs_iunlock(xip, iolock);
if (need_i_mutex)
mutex_unlock(&inode->i_mutex);
- error2 = sync_page_range(inode, mapping, pos, ret);
+ error2 = generic_write_sync(file, pos, ret);
if (!error)
error = error2;
if (need_i_mutex)
--
1.6.0.2
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: XFS corruption with failover, John Quigley |
|---|---|
| Next by Date: | [PATCH 07/17] vfs: Introduce new helpers for syncing after writing to O_SYNC file or IS_SYNC inode, Jan Kara |
| Previous by Thread: | xfs_quota: cannot set limits.Why ?, Frank Peng |
| Next by Thread: | Re: [PATCH 14/17] xfs: Use new syncing helper, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |