diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_aops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_aops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c index 66abe36c1213..ce369a816ce3 100644 --- a/fs/xfs/linux-2.6/xfs_aops.c +++ b/fs/xfs/linux-2.6/xfs_aops.c | |||
@@ -187,7 +187,7 @@ xfs_setfilesize( | |||
187 | isize = xfs_ioend_new_eof(ioend); | 187 | isize = xfs_ioend_new_eof(ioend); |
188 | if (isize) { | 188 | if (isize) { |
189 | ip->i_d.di_size = isize; | 189 | ip->i_d.di_size = isize; |
190 | xfs_mark_inode_dirty_sync(ip); | 190 | xfs_mark_inode_dirty(ip); |
191 | } | 191 | } |
192 | 192 | ||
193 | xfs_iunlock(ip, XFS_ILOCK_EXCL); | 193 | xfs_iunlock(ip, XFS_ILOCK_EXCL); |
@@ -341,7 +341,7 @@ xfs_submit_ioend_bio( | |||
341 | * but don't update the inode size until I/O completion. | 341 | * but don't update the inode size until I/O completion. |
342 | */ | 342 | */ |
343 | if (xfs_ioend_new_eof(ioend)) | 343 | if (xfs_ioend_new_eof(ioend)) |
344 | xfs_mark_inode_dirty_sync(XFS_I(ioend->io_inode)); | 344 | xfs_mark_inode_dirty(XFS_I(ioend->io_inode)); |
345 | 345 | ||
346 | submit_bio(wbc->sync_mode == WB_SYNC_ALL ? | 346 | submit_bio(wbc->sync_mode == WB_SYNC_ALL ? |
347 | WRITE_SYNC_PLUG : WRITE, bio); | 347 | WRITE_SYNC_PLUG : WRITE, bio); |