diff options
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 | ||