diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 6ce828e0e17b..3b5b46b8e3b9 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -1064,7 +1064,7 @@ xfs_fs_write_inode( | |||
1064 | xfs_ilock(ip, XFS_ILOCK_SHARED); | 1064 | xfs_ilock(ip, XFS_ILOCK_SHARED); |
1065 | xfs_iflock(ip); | 1065 | xfs_iflock(ip); |
1066 | 1066 | ||
1067 | error = xfs_iflush(ip, XFS_IFLUSH_SYNC); | 1067 | error = xfs_iflush(ip, SYNC_WAIT); |
1068 | } else { | 1068 | } else { |
1069 | error = EAGAIN; | 1069 | error = EAGAIN; |
1070 | if (!xfs_ilock_nowait(ip, XFS_ILOCK_SHARED)) | 1070 | if (!xfs_ilock_nowait(ip, XFS_ILOCK_SHARED)) |
@@ -1072,7 +1072,7 @@ xfs_fs_write_inode( | |||
1072 | if (xfs_ipincount(ip) || !xfs_iflock_nowait(ip)) | 1072 | if (xfs_ipincount(ip) || !xfs_iflock_nowait(ip)) |
1073 | goto out_unlock; | 1073 | goto out_unlock; |
1074 | 1074 | ||
1075 | error = xfs_iflush(ip, XFS_IFLUSH_ASYNC_NOBLOCK); | 1075 | error = xfs_iflush(ip, 0); |
1076 | } | 1076 | } |
1077 | 1077 | ||
1078 | out_unlock: | 1078 | out_unlock: |