aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/inode.c b/kernel/inode.c
index 0e33035..0cb8b65 100644
--- a/kernel/inode.c
+++ b/kernel/inode.c
@@ -64,10 +64,10 @@ static void fuse_put_super(struct super_block *sb)
fc->sb = NULL;
fc->uid = 0;
fc->flags = 0;
- fuse_release_conn(fc);
- sb->u.generic_sbp = NULL;
/* Flush all readers on this fs */
wake_up_all(&fc->waitq);
+ fuse_release_conn(fc);
+ sb->u.generic_sbp = NULL;
spin_unlock(&fuse_lock);
}