projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
530576b
)
ext4: remove redundant code in ext4_fill_super()
author
Li Zefan
<
[email protected]
>
Fri, 11 Jul 2008 23:27:31 +0000
(19:27 -0400)
committer
Theodore Ts'o
<
[email protected]
>
Fri, 11 Jul 2008 23:27:31 +0000
(19:27 -0400)
The previous sb_min_blocksize() has already set the block size.
Signed-off-by: Li Zefan <
[email protected]
>
Signed-off-by: Mingming Cao <
[email protected]
>
Signed-off-by: "Theodore Ts'o" <
[email protected]
>
fs/ext4/super.c
patch
|
blob
|
history
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index b9ad3d852061c2f63c67f99d10b62a04b1a8ba83..6c80f37433ef9bde9f850e447ee57eb313205819 100644
(file)
--- 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)
goto out_fail;
}
- if (!sb_set_blocksize(sb, blocksize)) {
- printk(KERN_ERR "EXT4-fs: bad blocksize %d.\n", blocksize);
- goto out_fail;
- }
-
/*
* The ext4 superblock will not be buffer aligned for other than 1kB
* block sizes. We need to calculate the offset from buffer start.