From: Al Viro Date: Wed, 16 Nov 2011 21:06:09 +0000 (-0500) Subject: btrfs: fix double mntput() in mount_subvol() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d514bbf37eecf0a3e309284728637816a36764b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git btrfs: fix double mntput() in mount_subvol() Signed-off-by: Al Viro --- diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 8bd9d6d0e07a..969a7747e889 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -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);