summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth.c
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2011-12-14 20:12:02 -0500
committerChris Mason <chris.mason@oracle.com>2011-12-15 10:50:37 -0500
commitf8e9e0b07be0464e12366631da3da73a1a62449c (patch)
tree3950d7dfe50186637b0bcca0d38943a64c9dff8c /net/sunrpc/auth.c
parent39fb26c398ddf8d7794a85e896cfe1a42e55524b (diff)
downloadblackbird-op-linux-f8e9e0b07be0464e12366631da3da73a1a62449c.tar.gz
blackbird-op-linux-f8e9e0b07be0464e12366631da3da73a1a62449c.zip
btrfs: keep orphans for subvolume deletion
Since we have the free space caches, btrfs_orphan_cleanup also runs for the tree_root. Unfortunately this also cleans up the orphans used to mark subvol deletions in progress. Currently if a subvol deletion gets interrupted twice by umount/mount, the deletion will not be continued and the space permanently lost, though it would be possible to write a tool to recover those lost subvol deletions. This patch checks if the orphan belongs to a subvol (dead root) and skips the deletion. Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'net/sunrpc/auth.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud