aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 7dcac9d7e491..d3118d1acc39 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -4153,12 +4153,7 @@ make_io:
4153 unsigned num; 4153 unsigned num;
4154 4154
4155 table = ext4_inode_table(sb, gdp); 4155 table = ext4_inode_table(sb, gdp);
4156 /* Make sure s_inode_readahead_blks is a power of 2 */ 4156 /* s_inode_readahead_blks is always a power of 2 */
4157 while (EXT4_SB(sb)->s_inode_readahead_blks &
4158 (EXT4_SB(sb)->s_inode_readahead_blks-1))
4159 EXT4_SB(sb)->s_inode_readahead_blks =
4160 (EXT4_SB(sb)->s_inode_readahead_blks &
4161 (EXT4_SB(sb)->s_inode_readahead_blks-1));
4162 b = block & ~(EXT4_SB(sb)->s_inode_readahead_blks-1); 4157 b = block & ~(EXT4_SB(sb)->s_inode_readahead_blks-1);
4163 if (table > b) 4158 if (table > b)
4164 b = table; 4159 b = table;