fuse: don't keep dead fuse_conn at fuse_fill_super().
[sfrench/cifs-2.6.git] / fs / fuse / inode.c
index 48baa26993f3e2236e78298994e9a7f19a023737..061500c726083b39117a1d61136817142de0c7e6 100644 (file)
@@ -1193,6 +1193,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
        fuse_dev_free(fud);
  err_put_conn:
        fuse_conn_put(fc);
        fuse_dev_free(fud);
  err_put_conn:
        fuse_conn_put(fc);
+       sb->s_fs_info = NULL;
  err_fput:
        fput(file);
  err:
  err_fput:
        fput(file);
  err: