提交 8d514bbf 编写于 作者: A Al Viro

btrfs: fix double mntput() in mount_subvol()

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 6aaf05f4
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册