On Wed, Apr 07, 2021 at 06:01:14PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Now that the scrub context stores a pointer to the file that was used to > invoke the scrub call, the struct xfs_inode pointer that we passed to > all the setup functions is no longer necessary. This is only ever used > if the caller wants us to scrub the metadata of the open file. Even before we had the xfs_inode in struct xfs_scrub, so why detour through struct file?