]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fstests: Verify dir permissions when creating a stub subvolume
authorLee Trager <lee@trager.us>
Fri, 18 Aug 2023 08:11:56 +0000 (01:11 -0700)
committerZorro Lang <zlang@kernel.org>
Fri, 18 Aug 2023 19:36:22 +0000 (03:36 +0800)
commiteccdeae8fc417ecb369b822a8182fd5eeab751e1
tree804dd60025fe97593d3adc1816a0471bf463287d
parent697988c94e870a2e9be9b0827078e718ae20995f
fstests: Verify dir permissions when creating a stub subvolume

btrfs supports creating nesting subvolumes however snapshots are not
recurive. When a snapshot is taken of a volume which contains a subvolume
the subvolume is replaced with a stub subvolume which has the same name and
uses inode number 2. This test validates that the stub volume copies
permissions of the original volume.

Signed-off-by: Lee Trager <lee@trager.us>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc
tests/btrfs/300 [new file with mode: 0755]
tests/btrfs/300.out [new file with mode: 0644]
tests/overlay/020