mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
btrfs: fix double mntput() in mount_subvol()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
6aaf05f472
commit
8d514bbf37
1 changed files with 0 additions and 1 deletions
|
@ -861,7 +861,6 @@ static struct dentry *mount_subvol(const char *subvol_name, int flags,
|
|||
|
||||
if (!is_subvolume_inode(path.dentry->d_inode)) {
|
||||
path_put(&path);
|
||||
mntput(mnt);
|
||||
error = -EINVAL;
|
||||
printk(KERN_ERR "btrfs: '%s' is not a valid subvolume\n",
|
||||
subvol_name);
|
||||
|
|
Loading…
Reference in a new issue