diff options
author | Jan Kara <jack@suse.cz> | 2009-01-26 19:47:11 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-03-25 21:18:37 -0400 |
commit | 7a2435d874388271cfe5046d180751352a1d30a2 (patch) | |
tree | 57dbb588ea29976db10246add0b7d7e836d1e6a0 /fs/quota/quota_tree.c | |
parent | bf84c82d000b9820b01f516d13d328f354f8a8ee (diff) |
quota: Remove superfluous inlines
Remove inlines of large functions to decrease code size (saved 1543
bytes).
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/quota_tree.c')
-rw-r--r-- | fs/quota/quota_tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/quota/quota_tree.c b/fs/quota/quota_tree.c index 3a5a90c08962..48e35a48f1c2 100644 --- a/fs/quota/quota_tree.c +++ b/fs/quota/quota_tree.c | |||
@@ -33,7 +33,7 @@ static int get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) | |||
33 | } | 33 | } |
34 | 34 | ||
35 | /* Number of entries in one blocks */ | 35 | /* Number of entries in one blocks */ |
36 | static inline int qtree_dqstr_in_blk(struct qtree_mem_dqinfo *info) | 36 | static int qtree_dqstr_in_blk(struct qtree_mem_dqinfo *info) |
37 | { | 37 | { |
38 | return (info->dqi_usable_bs - sizeof(struct qt_disk_dqdbheader)) | 38 | return (info->dqi_usable_bs - sizeof(struct qt_disk_dqdbheader)) |
39 | / info->dqi_entry_size; | 39 | / info->dqi_entry_size; |
@@ -47,7 +47,7 @@ static char *getdqbuf(size_t size) | |||
47 | return buf; | 47 | return buf; |
48 | } | 48 | } |
49 | 49 | ||
50 | static inline ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) | 50 | static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) |
51 | { | 51 | { |
52 | struct super_block *sb = info->dqi_sb; | 52 | struct super_block *sb = info->dqi_sb; |
53 | 53 | ||
@@ -56,7 +56,7 @@ static inline ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *bu | |||
56 | info->dqi_usable_bs, blk << info->dqi_blocksize_bits); | 56 | info->dqi_usable_bs, blk << info->dqi_blocksize_bits); |
57 | } | 57 | } |
58 | 58 | ||
59 | static inline ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) | 59 | static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) |
60 | { | 60 | { |
61 | struct super_block *sb = info->dqi_sb; | 61 | struct super_block *sb = info->dqi_sb; |
62 | 62 | ||