aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 8238c7517822..9142351df515 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -903,7 +903,7 @@ xfs_sync(
903 * only available by calling this routine. 903 * only available by calling this routine.
904 * 904 *
905 */ 905 */
906STATIC int 906int
907xfs_sync_inodes( 907xfs_sync_inodes(
908 xfs_mount_t *mp, 908 xfs_mount_t *mp,
909 int flags, 909 int flags,
@@ -987,7 +987,7 @@ xfs_sync_inodes(
987 ipointer = (xfs_iptr_t *)kmem_zalloc(sizeof(xfs_iptr_t), KM_SLEEP); 987 ipointer = (xfs_iptr_t *)kmem_zalloc(sizeof(xfs_iptr_t), KM_SLEEP);
988 988
989 fflag = XFS_B_ASYNC; /* default is don't wait */ 989 fflag = XFS_B_ASYNC; /* default is don't wait */
990 if (flags & SYNC_BDFLUSH) 990 if (flags & (SYNC_BDFLUSH | SYNC_DELWRI))
991 fflag = XFS_B_DELWRI; 991 fflag = XFS_B_DELWRI;
992 if (flags & SYNC_WAIT) 992 if (flags & SYNC_WAIT)
993 fflag = 0; /* synchronous overrides all */ 993 fflag = 0; /* synchronous overrides all */