Unverified Commit cb1e8d30 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents dbf4bac0 d8b7d08d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1934,6 +1934,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
	 */