]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test quota's project ID on special files master v2025.10.05
authorAndrey Albershteyn <aalbersh@redhat.com>
Fri, 3 Oct 2025 09:32:46 +0000 (11:32 +0200)
committerZorro Lang <zlang@kernel.org>
Sun, 5 Oct 2025 15:50:49 +0000 (23:50 +0800)
commit2cba4b54e6ab21d9324000f3cd009dbe9cad9c19
treeae45f598d24747846556bd339d609b9404776f52
parent4eb40174d77c1bfbbaaeeda68bab9ccd51516842
xfs: test quota's project ID on special files

With addition of file_getattr() and file_setattr(), xfs_quota now can
set project ID on filesystem inodes behind special files. Previously,
quota reporting didn't count inodes of special files created before
project initialization. Only new inodes had project ID set.

Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/648 [new file with mode: 0755]
tests/xfs/648.out [new file with mode: 0644]