diff options
author | Jan Kara <jack@suse.cz> | 2009-01-27 01:47:11 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-03-26 02:18:37 +0100 |
commit | 7a2435d874388271cfe5046d180751352a1d30a2 (patch) | |
tree | 57dbb588ea29976db10246add0b7d7e836d1e6a0 /fs/quota/quota_tree.c | |
parent | bf84c82d000b9820b01f516d13d328f354f8a8ee (diff) | |
download | op-kernel-dev-7a2435d874388271cfe5046d180751352a1d30a2.zip op-kernel-dev-7a2435d874388271cfe5046d180751352a1d30a2.tar.gz |
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 3a5a90c..48e35a4 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) } /* Number of entries in one blocks */ -static inline int qtree_dqstr_in_blk(struct qtree_mem_dqinfo *info) +static int qtree_dqstr_in_blk(struct qtree_mem_dqinfo *info) { return (info->dqi_usable_bs - sizeof(struct qt_disk_dqdbheader)) / info->dqi_entry_size; @@ -47,7 +47,7 @@ static char *getdqbuf(size_t size) return buf; } -static inline ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) +static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) { struct super_block *sb = info->dqi_sb; @@ -56,7 +56,7 @@ static inline ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *bu info->dqi_usable_bs, blk << info->dqi_blocksize_bits); } -static inline ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) +static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) { struct super_block *sb = info->dqi_sb; |