On Tue, Feb 09, 2021 at 09:09:40AM +0000, Christoph Hellwig wrote: > On Mon, Feb 08, 2021 at 08:10:21PM -0800, Darrick J. Wong wrote: > > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > > > Teach the xfs_db version command about the 'needsrepair' flag, which can > > be used to force the system administrator to repair the filesystem with > > xfs_repair. > > In the "version" command? Urk. Yeah, this patch is a bit incoherent. Two of the hunks merely report the presence of needsrepair in check/version; and the middle two are used to prevent the administrative changes that we allow via xfs_admin (aka label/uuid) on a needsrepair fs. Will split them up and repost with better commit messages. Thanks for the review! --D