Commit bd015e2e authored by Darrick J. Wong's avatar Darrick J. Wong Committed by Greg Kroah-Hartman
Browse files

xfs: report realtime block quota limits on realtime directories



[ Upstream commit 9a17ebfe ]

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: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Stable-dep-of: 4b8d867c ("xfs: don't over-report free space or inodes in statvfs")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d25041d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment