diff options
Diffstat (limited to 'fs/ocfs2/suballoc.c')
| -rw-r--r-- | fs/ocfs2/suballoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/suballoc.c b/fs/ocfs2/suballoc.c index 8f09f5235e3a..6df4dbf67d18 100644 --- a/fs/ocfs2/suballoc.c +++ b/fs/ocfs2/suballoc.c | |||
| @@ -114,7 +114,7 @@ void ocfs2_free_alloc_context(struct ocfs2_alloc_context *ac) | |||
| 114 | 114 | ||
| 115 | if (inode) { | 115 | if (inode) { |
| 116 | if (ac->ac_which != OCFS2_AC_USE_LOCAL) | 116 | if (ac->ac_which != OCFS2_AC_USE_LOCAL) |
| 117 | ocfs2_meta_unlock(inode, 1); | 117 | ocfs2_inode_unlock(inode, 1); |
| 118 | 118 | ||
| 119 | mutex_unlock(&inode->i_mutex); | 119 | mutex_unlock(&inode->i_mutex); |
| 120 | 120 | ||
| @@ -412,7 +412,7 @@ static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, | |||
| 412 | 412 | ||
| 413 | mutex_lock(&alloc_inode->i_mutex); | 413 | mutex_lock(&alloc_inode->i_mutex); |
| 414 | 414 | ||
| 415 | status = ocfs2_meta_lock(alloc_inode, &bh, 1); | 415 | status = ocfs2_inode_lock(alloc_inode, &bh, 1); |
| 416 | if (status < 0) { | 416 | if (status < 0) { |
| 417 | mutex_unlock(&alloc_inode->i_mutex); | 417 | mutex_unlock(&alloc_inode->i_mutex); |
| 418 | iput(alloc_inode); | 418 | iput(alloc_inode); |
