aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/journal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index f9d01e25298d..7e5f7ce4761b 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -1277,11 +1277,12 @@ static int ocfs2_queue_orphans(struct ocfs2_super *osb,
1277 ocfs2_orphan_filldir); 1277 ocfs2_orphan_filldir);
1278 if (status) { 1278 if (status) {
1279 mlog_errno(status); 1279 mlog_errno(status);
1280 goto out; 1280 goto out_cluster;
1281 } 1281 }
1282 1282
1283 *head = priv.head; 1283 *head = priv.head;
1284 1284
1285out_cluster:
1285 ocfs2_meta_unlock(orphan_dir_inode, 0); 1286 ocfs2_meta_unlock(orphan_dir_inode, 0);
1286out: 1287out:
1287 mutex_unlock(&orphan_dir_inode->i_mutex); 1288 mutex_unlock(&orphan_dir_inode->i_mutex);