]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: quota mode helpers
authorBoris Burkov <boris@bur.io>
Thu, 28 Sep 2023 23:16:44 +0000 (16:16 -0700)
committerZorro Lang <zlang@kernel.org>
Thu, 5 Oct 2023 14:32:01 +0000 (22:32 +0800)
commit587984a47e44e0c81557b72e10eeda4bd7a6fb84
tree0d4ea409443bb6ac8bccebb130949521716ab578
parentc0cafb48a892e0d9e414478df5d5f818d6c101dd
btrfs: quota mode helpers

To facilitate skipping tests depending on the qgroup mode after mkfs,
add support for figuring out the mode. This cannot just rely on the new
sysfs file, since it might not be present on older kernels.

Signed-off-by: Boris Burkov <boris@bur.io>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/btrfs