diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-16 22:06:09 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-16 22:06:09 +0100 |
commit | 8d514bbf37eecf0a3e309284728637816a36764b (patch) | |
tree | 1a7745397b545456a34d9f2fd37464b44b01aeff /fs/btrfs/super.c | |
parent | Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 (diff) | |
download | linux-8d514bbf37eecf0a3e309284728637816a36764b.tar.xz linux-8d514bbf37eecf0a3e309284728637816a36764b.zip |
btrfs: fix double mntput() in mount_subvol()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |