aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-07-11 19:27:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-07-11 19:27:31 -0400
commitf9a8ac99fd79eb961a8573ccf058439bc17b4d3a (patch)
tree9fadb826277793f1bfb155b031da8fd8c4fbde08 /fs
parent530576bbf379fc45cfb34f246257d8526db44567 (diff)
ext4: remove redundant code in ext4_fill_super()
The previous sb_min_blocksize() has already set the block size. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/super.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index b9ad3d852061..6c80f37433ef 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1899,11 +1899,6 @@ static int ext4_fill_super (struct super_block *sb, void *data, int silent)
1899 goto out_fail; 1899 goto out_fail;
1900 } 1900 }
1901 1901
1902 if (!sb_set_blocksize(sb, blocksize)) {
1903 printk(KERN_ERR "EXT4-fs: bad blocksize %d.\n", blocksize);
1904 goto out_fail;
1905 }
1906
1907 /* 1902 /*
1908 * The ext4 superblock will not be buffer aligned for other than 1kB 1903 * The ext4 superblock will not be buffer aligned for other than 1kB
1909 * block sizes. We need to calculate the offset from buffer start. 1904 * block sizes. We need to calculate the offset from buffer start.