aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r--fs/ubifs/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index 302a2056422e..faa44f90608a 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -2051,7 +2051,8 @@ static int ubifs_get_sb(struct file_system_type *fs_type, int flags,
2051 /* 'fill_super()' opens ubi again so we must close it here */ 2051 /* 'fill_super()' opens ubi again so we must close it here */
2052 ubi_close_volume(ubi); 2052 ubi_close_volume(ubi);
2053 2053
2054 return simple_set_mnt(mnt, sb); 2054 simple_set_mnt(mnt, sb);
2055 return 0;
2055 2056
2056out_deact: 2057out_deact:
2057 up_write(&sb->s_umount); 2058 up_write(&sb->s_umount);