Unverified Commit a96cb8eb authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 5ce8f8e3 8a16d8b8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1940,6 +1940,8 @@ static int __ocfs2_change_file_space(struct file *file, struct inode *inode,

	inode_lock(inode);

	/* Wait all existing dio workers, newcomers will block on i_rwsem */
	inode_dio_wait(inode);
	/*
	 * This prevents concurrent writes on other nodes
	 */