summaryrefslogtreecommitdiffstats
path: root/fs/efivarfs
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-08-12 15:36:44 -0400
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:05:02 -0400
commit175a2b871f46272a2aedce5fb3222a72568b84c3 (patch)
tree17a101c9ff84cec0f2bbf184f44bd4f6858e92f3 /fs/efivarfs
parenta05254143cd183b18002cbba7759a1e4629aa762 (diff)
Btrfs: don't allow a subvol to be deleted if it is the default subovl
Eric pointed out that btrfs will happily allow you to delete the default subvol. This is a problem obviously since the next time you go to mount the file system it will freak out because it can't find the root. Fix this by adding a check to see if our default subvol points to the subvol we are trying to delete, and if it does not allowing it to happen. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions