|
@@ -193,8 +193,12 @@ static int fuse_ctl_get_sb(struct file_system_type *fs_type, int flags,
|
|
|
|
|
|
static void fuse_ctl_kill_sb(struct super_block *sb)
|
|
static void fuse_ctl_kill_sb(struct super_block *sb)
|
|
{
|
|
{
|
|
|
|
+ struct fuse_conn *fc;
|
|
|
|
+
|
|
mutex_lock(&fuse_mutex);
|
|
mutex_lock(&fuse_mutex);
|
|
fuse_control_sb = NULL;
|
|
fuse_control_sb = NULL;
|
|
|
|
+ list_for_each_entry(fc, &fuse_conn_list, entry)
|
|
|
|
+ fc->ctl_ndents = 0;
|
|
mutex_unlock(&fuse_mutex);
|
|
mutex_unlock(&fuse_mutex);
|
|
|
|
|
|
kill_litter_super(sb);
|
|
kill_litter_super(sb);
|