projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0910697
)
fuse: destroy bdi on error
author
Miklos Szeredi
<mszeredi@suse.cz>
Tue, 28 Apr 2009 14:56:35 +0000
(16:56 +0200)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Tue, 28 Apr 2009 14:56:35 +0000
(16:56 +0200)
Destroy bdi on error in fuse_fill_super().
This was an omission from commit
26c3679101dbccc054dcf370143941844ba70531
"fuse: destroy bdi on umount", which moved the bdi_destroy() call from
fuse_conn_put() to fuse_put_super().
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: stable@kernel.org
fs/fuse/inode.c
patch
|
blob
|
history
diff --git
a/fs/fuse/inode.c
b/fs/fuse/inode.c
index 459b73dd45e1302298ab75a5e6c4bee86849ebae..75ca5ac603aedf71f2705effcdddfa4c11445b1d 100644
(file)
--- a/
fs/fuse/inode.c
+++ b/
fs/fuse/inode.c
@@
-908,6
+908,7
@@
static int fuse_fill_super(struct super_block *sb, void *data, int silent)
err_put_root:
dput(root_dentry);
err_put_conn:
+ bdi_destroy(&fc->bdi);
fuse_conn_put(fc);
err_fput:
fput(file);