cuse: fix fuse_conn_kill()
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 30 Aug 2012 17:24:34 +0000 (19:24 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 30 Aug 2012 17:24:34 +0000 (19:24 +0200)
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>

No differences found