lkml.org 
[lkml]   [2009]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 14/17] xfs: Use new syncing helper
    Date
    Use new generic_write_sync() helper from xfs_write().

    CC: Felix Blyakher <felixb@sgi.com>
    CC: xfs@oss.sgi.com
    Signed-off-by: Jan Kara <jack@suse.cz>
    ---
    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


    \
     
     \ /
      Last update: 2009-08-19 18:11    [W:0.018 / U:33.576 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site