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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c
index 31bda54fefe3..27f8dc4c819c 100644
--- a/fs/ocfs2/suballoc.c
+++ b/fs/ocfs2/suballoc.c
@@ -421,7 +421,7 @@ static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb,
421 421
422 mutex_lock(&alloc_inode->i_mutex); 422 mutex_lock(&alloc_inode->i_mutex);
423 423
424 status = ocfs2_meta_lock(alloc_inode, NULL, &bh, 1); 424 status = ocfs2_meta_lock(alloc_inode, &bh, 1);
425 if (status < 0) { 425 if (status < 0) {
426 mutex_unlock(&alloc_inode->i_mutex); 426 mutex_unlock(&alloc_inode->i_mutex);
427 iput(alloc_inode); 427 iput(alloc_inode);