summaryrefslogtreecommitdiffstats
path: root/kernel/fs/fuse/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/fuse/inode.c')
-rw-r--r--kernel/fs/fuse/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/fuse/inode.c b/kernel/fs/fuse/inode.c
index 18dacf9ed..708d69711 100644
--- a/kernel/fs/fuse/inode.c
+++ b/kernel/fs/fuse/inode.c
@@ -1026,6 +1026,7 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
goto err_fput;
fuse_conn_init(fc);
+ fc->release = fuse_free_conn;
fc->dev = sb->s_dev;
fc->sb = sb;
@@ -1040,7 +1041,6 @@ static int fuse_fill_super(struct super_block *sb, void *data, int silent)
fc->dont_mask = 1;
sb->s_flags |= MS_POSIXACL;
- fc->release = fuse_free_conn;
fc->flags = d.flags;
fc->user_id = d.user_id;
fc->group_id = d.group_id;