On Thu, Apr 27, 2023 at 03:49:11PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > When we're scrubbing the COW fork, we need to take MMAPLOCK_EXCL to > prevent page_mkwrite from modifying any inode state. The ILOCK should > suffice to avoid confusing online fsck, but let's take the same locks > that we do everywhere else. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> Makes sense. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx