[PATCH 6.1 30/97] xfs: match lock mode in xfs_buffered_write_iomap_begin()