diff options
author | Nathan Scott <nathans@sgi.com> | 2005-11-01 18:32:38 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-11-01 18:32:38 -0500 |
commit | ee34807a65aa0c5911dc27682863afca780a003e (patch) | |
tree | 6111a529078e9e12ce5102f7c736f649fb3ec498 /fs/xfs/xfs_vfsops.c | |
parent | c310ab6c071a688e5291028972d1ae8314f67536 (diff) |
[XFS] Provide a mechiansm for flushing delalloc before quota reporting.
SGI-PV: 942815
SGI-Modid: xfs-linux:xfs-kern:23829a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 4 |
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 | */ |
906 | STATIC int | 906 | int |
907 | xfs_sync_inodes( | 907 | xfs_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 */ |