diff options
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 3ff2118abd7d..16939b37b7d6 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c | |||
@@ -1072,6 +1072,7 @@ nilfs_get_sb(struct file_system_type *fs_type, int flags, | |||
1072 | 1072 | ||
1073 | /* New superblock instance created */ | 1073 | /* New superblock instance created */ |
1074 | s->s_flags = flags; | 1074 | s->s_flags = flags; |
1075 | s->s_mode = mode; | ||
1075 | strlcpy(s->s_id, bdevname(sd.bdev, b), sizeof(s->s_id)); | 1076 | strlcpy(s->s_id, bdevname(sd.bdev, b), sizeof(s->s_id)); |
1076 | sb_set_blocksize(s, block_size(sd.bdev)); | 1077 | sb_set_blocksize(s, block_size(sd.bdev)); |
1077 | 1078 | ||