|
@@ -865,7 +865,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
|
|
if (is_bdev) {
|
|
if (is_bdev) {
|
|
fc->destroy_req = fuse_request_alloc();
|
|
fc->destroy_req = fuse_request_alloc();
|
|
if (!fc->destroy_req)
|
|
if (!fc->destroy_req)
|
|
- goto err_put_root;
|
|
|
|
|
|
+ goto err_free_init_req;
|
|
}
|
|
}
|
|
|
|
|
|
mutex_lock(&fuse_mutex);
|
|
mutex_lock(&fuse_mutex);
|
|
@@ -895,6 +895,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
|
|
|
|
|
|
err_unlock:
|
|
err_unlock:
|
|
mutex_unlock(&fuse_mutex);
|
|
mutex_unlock(&fuse_mutex);
|
|
|
|
+ err_free_init_req:
|
|
fuse_request_free(init_req);
|
|
fuse_request_free(init_req);
|
|
err_put_root:
|
|
err_put_root:
|
|
dput(root_dentry);
|
|
dput(root_dentry);
|