summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-03 13:53:34 +1100
committerNathan Scott <nathans@sgi.com>2005-11-03 13:53:34 +1100
commitde69e5f44ecbf1d9faca4f473f4210473d26cd41 (patch)
tree45d51d1c45afa3f08c8a46a7d591506d8ff50068 /include
parenta2f8e178ad3e576d107f5d9d47c056dd57221857 (diff)
downloadlinux-de69e5f44ecbf1d9faca4f473f4210473d26cd41.tar.bz2
[XFS] Add a mechanism for XFS to use the generic quota sync method.
This is now used to issue a delayed allocation flush before reporting quota, which allows the used space quota report to match reality. Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dqblk_xfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dqblk_xfs.h b/include/linux/dqblk_xfs.h
index 6ad85bbd0d17..2fda1b2aabd9 100644
--- a/include/linux/dqblk_xfs.h
+++ b/include/linux/dqblk_xfs.h
@@ -37,6 +37,7 @@
#define Q_XSETQLIM XQM_CMD(4) /* set disk limits */
#define Q_XGETQSTAT XQM_CMD(5) /* get quota subsystem status */
#define Q_XQUOTARM XQM_CMD(6) /* free disk space used by dquots */
+#define Q_XQUOTASYNC XQM_CMD(7) /* delalloc flush, updates dquots */
/*
* fs_disk_quota structure: