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

!13345 ocfs2: fix unexpected zeroing of virtual disk

parents 545198ae c88fc882
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1188,7 +1188,7 @@ static int ocfs2_write_cluster(struct address_space *mapping,

		/* This is the direct io target page. */
		if (wc->w_pages[i] == NULL) {
			p_blkno++;
			p_blkno += (1 << (PAGE_SHIFT - inode->i_sb->s_blocksize_bits));
			continue;
		}