aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 1d78435ce388..edf9730ba72e 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -1056,6 +1056,8 @@ static void mb_set_bits(spinlock_t *lock, void *bm, int cur, int len)
1056 1056
1057static void mb_free_blocks(struct inode *inode, struct ext4_buddy *e4b, 1057static void mb_free_blocks(struct inode *inode, struct ext4_buddy *e4b,
1058 int first, int count) 1058 int first, int count)
1059__releases(bitlock)
1060__acquires(bitlock)
1059{ 1061{
1060 int block = 0; 1062 int block = 0;
1061 int max = 0; 1063 int max = 0;
@@ -2244,7 +2246,7 @@ ext4_mb_store_history(struct ext4_allocation_context *ac)
2244 2246
2245 2247
2246/* Create and initialize ext4_group_info data for the given group. */ 2248/* Create and initialize ext4_group_info data for the given group. */
2247int ext4_mb_add_groupinfo(struct super_block *sb, ext4_group_t group, 2249static int ext4_mb_add_groupinfo(struct super_block *sb, ext4_group_t group,
2248 struct ext4_group_desc *desc) 2250 struct ext4_group_desc *desc)
2249{ 2251{
2250 int i, len; 2252 int i, len;