aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/suballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/suballoc.c')
-rw-r--r--fs/ocfs2/suballoc.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c
index 2c91452c4047..47ae2663a6f5 100644
--- a/fs/ocfs2/suballoc.c
+++ b/fs/ocfs2/suballoc.c
@@ -113,12 +113,6 @@ static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac,
113 struct ocfs2_suballoc_result *res); 113 struct ocfs2_suballoc_result *res);
114static int ocfs2_test_bg_bit_allocatable(struct buffer_head *bg_bh, 114static int ocfs2_test_bg_bit_allocatable(struct buffer_head *bg_bh,
115 int nr); 115 int nr);
116static inline int ocfs2_block_group_set_bits(handle_t *handle,
117 struct inode *alloc_inode,
118 struct ocfs2_group_desc *bg,
119 struct buffer_head *group_bh,
120 unsigned int bit_off,
121 unsigned int num_bits);
122static int ocfs2_relink_block_group(handle_t *handle, 116static int ocfs2_relink_block_group(handle_t *handle,
123 struct inode *alloc_inode, 117 struct inode *alloc_inode,
124 struct buffer_head *fe_bh, 118 struct buffer_head *fe_bh,
@@ -1343,7 +1337,7 @@ static int ocfs2_block_group_find_clear_bits(struct ocfs2_super *osb,
1343 return status; 1337 return status;
1344} 1338}
1345 1339
1346static inline int ocfs2_block_group_set_bits(handle_t *handle, 1340int ocfs2_block_group_set_bits(handle_t *handle,
1347 struct inode *alloc_inode, 1341 struct inode *alloc_inode,
1348 struct ocfs2_group_desc *bg, 1342 struct ocfs2_group_desc *bg,
1349 struct buffer_head *group_bh, 1343 struct buffer_head *group_bh,
@@ -1388,8 +1382,6 @@ static inline int ocfs2_block_group_set_bits(handle_t *handle,
1388 ocfs2_journal_dirty(handle, group_bh); 1382 ocfs2_journal_dirty(handle, group_bh);
1389 1383
1390bail: 1384bail:
1391 if (status)
1392 mlog_errno(status);
1393 return status; 1385 return status;
1394} 1386}
1395 1387
@@ -1588,7 +1580,7 @@ static int ocfs2_block_group_search(struct inode *inode,
1588 return ret; 1580 return ret;
1589} 1581}
1590 1582
1591static int ocfs2_alloc_dinode_update_counts(struct inode *inode, 1583int ocfs2_alloc_dinode_update_counts(struct inode *inode,
1592 handle_t *handle, 1584 handle_t *handle,
1593 struct buffer_head *di_bh, 1585 struct buffer_head *di_bh,
1594 u32 num_bits, 1586 u32 num_bits,