diff options
author | David Sterba <dsterba@suse.cz> | 2013-12-06 16:51:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-20 15:49:03 (GMT) |
commit | 5efc91cb9ff638c11ae3fd9c6b810b6d1940a1a1 (patch) | |
tree | a783ef3b1050a12651db90851a185f7ccb3ca424 /fs/nfs/nfsroot.c | |
parent | 93ecac1d5fad38f8a04e9bcdfaa181ad8ff23681 (diff) | |
download | linux-fsl-qoriq-5efc91cb9ff638c11ae3fd9c6b810b6d1940a1a1.tar.xz |
btrfs: call mnt_drop_write after interrupted subvol deletion
commit e43f998e47bae27e37e159915625e8d4b130153b upstream.
If btrfs_ioctl_snap_destroy blocks on the mutex and the process is
killed, mnt_write count is unbalanced and leads to unmountable
filesystem.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/nfsroot.c')
0 files changed, 0 insertions, 0 deletions