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

!12673 ocfs2: remove unreasonable unlock in ocfs2_read_blocks

parents a5d699b6 232ca4b5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -235,7 +235,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! */