]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: create quota preallocation watermarks for realtime quota
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:41 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:46 +0000 (13:38 -0800)
commit5dd70852b03901da73f1abd4ee19633477b4280e
treeffa0993566c0d45eef984952f0193fa90a7bd147
parent9a17ebfea9d0c7e0bb7409dcf655bf982a5d6e52
xfs: create quota preallocation watermarks for realtime quota

Refactor the quota preallocation watermarking code so that it'll work
for realtime quota too.  Convert the do_div calls into div_u64 for
compactness.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h
fs/xfs/xfs_iomap.c
fs/xfs/xfs_qm.c