Commit d826380b authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

[PATCH] 9p: fix leak on error path

If register_filesystem() fails mux workqueue must be killed.
Signed-off-by: default avatarAlexey Dobriyan <>
Cc: Eric Van Hensbergen <>
Cc: Ron Minnich <>
Cc: Latchesar Ionkov <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 368bdb3d
......@@ -460,8 +460,10 @@ static int __init init_v9fs(void)
ret = v9fs_mux_global_init();
if (!ret)
ret = register_filesystem(&v9fs_fs_type);
return ret;
ret = register_filesystem(&v9fs_fs_type);
if (!ret)
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment