diff options
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/super.c b/fs/super.c index 5a347a4f673a..0a30e51692cf 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -700,8 +700,7 @@ struct super_block *get_sb_bdev(struct file_system_type *fs_type, | |||
700 | 700 | ||
701 | s->s_flags = flags; | 701 | s->s_flags = flags; |
702 | strlcpy(s->s_id, bdevname(bdev, b), sizeof(s->s_id)); | 702 | strlcpy(s->s_id, bdevname(bdev, b), sizeof(s->s_id)); |
703 | s->s_old_blocksize = block_size(bdev); | 703 | sb_set_blocksize(s, block_size(bdev)); |
704 | sb_set_blocksize(s, s->s_old_blocksize); | ||
705 | error = fill_super(s, data, flags & MS_VERBOSE ? 1 : 0); | 704 | error = fill_super(s, data, flags & MS_VERBOSE ? 1 : 0); |
706 | if (error) { | 705 | if (error) { |
707 | up_write(&s->s_umount); | 706 | up_write(&s->s_umount); |