diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:30:55 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:30:55 +0300 |
commit | 200491875ce144fdc49827387fff2f604b73c0a9 (patch) | |
tree | 75d9e27fab9c671be467aeedc7e0692a88dfb701 /fs/xfs/xfs_qm_bhv.c | |
parent | 48dd9117a34fe9a34a6be0b1dba5694e0f19cbd4 (diff) | |
download | linux-200491875ce144fdc49827387fff2f604b73c0a9.tar.xz |
xfs: track quota updates during live quotacheck
Create a shadow dqtrx system in the quotacheck code that hooks the
regular dquot counter update code. This will be the means to keep our
copy of the dquot counters up to date while the scan runs in real time.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_qm_bhv.c')
-rw-r--r-- | fs/xfs/xfs_qm_bhv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_qm_bhv.c b/fs/xfs/xfs_qm_bhv.c index b77673dd0558..271c1021c733 100644 --- a/fs/xfs/xfs_qm_bhv.c +++ b/fs/xfs/xfs_qm_bhv.c @@ -9,6 +9,7 @@ #include "xfs_format.h" #include "xfs_log_format.h" #include "xfs_trans_resv.h" +#include "xfs_mount.h" #include "xfs_quota.h" #include "xfs_mount.h" #include "xfs_inode.h" |