On Sun, Mar 25, 2018 at 01:44:29AM -0400, Theodore Y. Ts'o wrote: > On Fri, Mar 23, 2018 at 06:58:07PM -0700, Darrick J. Wong wrote: > > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > > > If e2fsck encounters a filesystem that supports internal quotas, it is > > responsible for adjusting the quota counters if it decides to clear any > > orphaned inodes. Therefore, we must read the quota files, adjust the > > counters, and write the quota files back out when we are done. > > > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Applying this patch stand-alone causes test failures in > f_orphan_extents_inode and f_orphan_indirect_inode. > > Could you take a look, please? Aha, one of the sizeof expressions to e2fsck_read_inode_full got FUBAR'd in the truncate-and-reread-inode case. Will resend. --D > > - Ted