diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-09-23 18:07:35 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-09-23 18:07:35 -0400 |
commit | 5e8814f2f74f53d58aa5679bf32b38a7940033fe (patch) | |
tree | 05f70d1d57d20111a57cd35fb971e36f836d24e8 /fs/ext4/ext4_sb.h | |
parent | 9f6200bbfc962d8f926278cf5d5ddb90a228c322 (diff) |
ext4: Combine proc file handling into a single set of functions
Previously mballoc created a separate set of functions for each proc
file. This combines the tunables into a single set of functions which
gets used for all of the per-superblock proc files, saving
approximately 2k of compiled object code.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_sb.h')
-rw-r--r-- | fs/ext4/ext4_sb.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ext4/ext4_sb.h b/fs/ext4/ext4_sb.h index 95e046e77cb1..f92af01138d4 100644 --- a/fs/ext4/ext4_sb.h +++ b/fs/ext4/ext4_sb.h | |||
@@ -108,12 +108,12 @@ struct ext4_sb_info { | |||
108 | 108 | ||
109 | /* tunables */ | 109 | /* tunables */ |
110 | unsigned long s_stripe; | 110 | unsigned long s_stripe; |
111 | unsigned long s_mb_stream_request; | 111 | unsigned int s_mb_stream_request; |
112 | unsigned long s_mb_max_to_scan; | 112 | unsigned int s_mb_max_to_scan; |
113 | unsigned long s_mb_min_to_scan; | 113 | unsigned int s_mb_min_to_scan; |
114 | unsigned long s_mb_stats; | 114 | unsigned int s_mb_stats; |
115 | unsigned long s_mb_order2_reqs; | 115 | unsigned int s_mb_order2_reqs; |
116 | unsigned long s_mb_group_prealloc; | 116 | unsigned int s_mb_group_prealloc; |
117 | /* where last allocation was done - for stream allocation */ | 117 | /* where last allocation was done - for stream allocation */ |
118 | unsigned long s_mb_last_group; | 118 | unsigned long s_mb_last_group; |
119 | unsigned long s_mb_last_start; | 119 | unsigned long s_mb_last_start; |