]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fstests: test for CONFIG_QFMT_V2 in _require_quota
authorEric Sandeen <sandeen@redhat.com>
Fri, 14 Mar 2025 15:44:16 +0000 (10:44 -0500)
committerZorro Lang <zlang@kernel.org>
Fri, 28 Mar 2025 01:17:39 +0000 (09:17 +0800)
commitcd4ca5ac3512cbfd5fd929c243c90aa3b2d7613d
tree79a13d55405b7fc3f64779acc9412950fe1752a1
parent4368c82e2a7e45df0c49baa43f585d9b58c5b8eb
fstests: test for CONFIG_QFMT_V2 in _require_quota

When CONFIG_QUOTA is enabled but CONFIG_QFMT_V2 is disabled in the
kernel config, many quota tests on ext4 will fail in odd ways,
when in fact they should be _notrun. Add a CONFIG_QFMT_V2 test to
_require_quota() to catch this for filesystems that require it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/quota
tests/ext4/053
tests/ext4/055