Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83cab533 authored by Tao Ma's avatar Tao Ma Committed by Mark Fasheh
Browse files

ocfs2: Jump to correct label in ocfs2_expand_inline_dir()



When we fail to insert extent in ocfs2_expand_inline_dir(), we should go to
out_commit, not out.

Signed-off-by: default avatarTao Ma <tao.ma@oracle.com>
Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
parent a1af7d15
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1310,7 +1310,7 @@ static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh,
				  NULL);
	if (ret) {
		mlog_errno(ret);
		goto out;
		goto out_commit;
	}

	ret = ocfs2_journal_dirty(handle, di_bh);
@@ -1336,7 +1336,7 @@ static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh,
					  len, 0, NULL);
		if (ret) {
			mlog_errno(ret);
			goto out;
			goto out_commit;
		}
	}