]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: report realtime block quota limits on realtime directories
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:40 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:46 +0000 (13:38 -0800)
commit9a17ebfea9d0c7e0bb7409dcf655bf982a5d6e52
treec8b43c642534267d9f1d4a858d8772d4128a4f2c
parent184c619f5543464c8764c3de030390abf0e90cd3
xfs: report realtime block quota limits on realtime directories

On the data device, calling statvfs on a projinherit directory results
in the block and avail counts being curtailed to the project quota block
limits, if any are set.  Do the same for realtime files or directories,
only use the project quota rt block limits.

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