projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aaf05f
)
btrfs: fix double mntput() in mount_subvol()
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 16 Nov 2011 21:06:09 +0000
(16:06 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 16 Nov 2011 21:06:09 +0000
(16:06 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/super.c
b/fs/btrfs/super.c
index 8bd9d6d0e07ae97cc2060cb0695468635b422a7e..969a7747e88981ece48796452e3cfe46b607f0bd 100644
(file)
--- 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);