+2007-01-28 Miklos Szeredi <miklos@szeredi.hu>
+
+ * kernel: fix BUG in control filesystem if it is umounted and
+ mounted again, while some fuse filesystems are present.
+ Bugreport from Florent Mertens
+
2007-01-22 Miklos Szeredi <miklos@szeredi.hu>
* lib/Makefile.am: actually link libfuse against libfuse_libs
static void fuse_ctl_kill_sb(struct super_block *sb)
{
+ struct fuse_conn *fc;
+
mutex_lock(&fuse_mutex);
fuse_control_sb = NULL;
+ list_for_each_entry(fc, &fuse_conn_list, entry)
+ fc->ctl_ndents = 0;
mutex_unlock(&fuse_mutex);
kill_litter_super(sb);