Unverified Commit 6a7ec317 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!12672 ocfs2: remove unreasonable unlock in ocfs2_read_blocks

parents d085151b 0035098f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -237,7 +237,6 @@ int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr,
		if (bhs[i] == NULL) {
			bhs[i] = sb_getblk(sb, block++);
			if (bhs[i] == NULL) {
				ocfs2_metadata_cache_io_unlock(ci);
				status = -ENOMEM;
				mlog_errno(status);
				/* Don't forget to put previous bh! */