diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-03-31 09:11:14 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-03-31 09:11:14 -0400 |
commit | b713a5ec55bf73c833f9883cdd761b20ee61a1ab (patch) | |
tree | 77bbc689f442cad3ce8ca21d7b2c7cea2738d519 /fs/ext4/inode.c | |
parent | 3197ebdb130473a92760100cbfe0d7e671838f48 (diff) |
ext4: remove /proc tuning knobs
Remove tuning knobs in /proc/fs/ext4/<dev/* since they have been
replaced by knobs in sysfs at /sys/fs/ext4/<dev>/*.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 7 |
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; |