commit | bbd99797973f2cebd905bf6469ce08b531ab258f | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Thu Aug 30 19:24:34 2012 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Thu Aug 30 19:24:34 2012 +0200 |
tree | 7df386d3b784415f11f242f162499bb23ee5f5de | |
parent | fea7a08acb13524b47711625eebea40a0ede69a0 [diff] |
cuse: fix fuse_conn_kill() fuse_conn_kill() removed fc->entry, called fuse_ctl_remove_conn() and fuse_bdi_destroy(). None of which is appropriate for cuse cleanup. The fuse_ctl_remove_conn() decrements the nlink on the control filesystem, which is totally bogus. The others are harmless but unnecessary. So move these out from fuse_conn_kill() to fuse_put_super() where they belong. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>