/* Remove a connection from the control filesystem (if it exists). Caller must hold fuse_mutex  */
void fuse_ctl_remove_conn(struct fuse_conn *fc)
/* Remove a connection from the control filesystem (if it exists). Caller must hold fuse_mutex  */
void fuse_ctl_remove_conn(struct fuse_conn *fc)
{
	int i;
	if (!fuse_control_sb)
		return;
	for (i = fc->ctl_ndents - 1; i >= 0; i--) {
		struct dentry *dentry = fc->ctl_dentry[i];
		dentry->d_inode->i_private = NULL;
		d_drop(dentry);
		dput(dentry);
	}
	drop_nlink(fuse_control_sb->s_root->d_inode);
}