diff options
author | 2012-10-22 11:39:53 +0000 | |
---|---|---|
committer | 2013-01-14 13:52:32 -0500 | |
commit | 5c39da5b6ca23e68e7acea7f4c01470383475214 (patch) | |
tree | 3079d0eccddbdb689879eb6d71ded878806da08c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: disable qgroup id 0 (diff) | |
download | linux-dev-5c39da5b6ca23e68e7acea7f4c01470383475214.tar.xz linux-dev-5c39da5b6ca23e68e7acea7f4c01470383475214.zip |
Btrfs: do not delete a subvolume which is in a R/O subvolume
Step to reproduce:
# mkfs.btrfs <disk>
# mount <disk> <mnt>
# btrfs sub create <mnt>/subv0
# btrfs sub snap <mnt> <mnt>/subv0/snap0
# change <mnt>/subv0 from R/W to R/O
# btrfs sub del <mnt>/subv0/snap0
We deleted the snapshot successfully. I think we should not be able to delete
the snapshot since the parent subvolume is R/O.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions