From patchwork Tue Apr 30 03:37:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 13648193 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 072C5DDA6; Tue, 30 Apr 2024 03:37:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714448261; cv=none; b=eDciIoiqxCtt7REbDEY3nZNPjEF8QuKZD93MyCI/a54LmjuSB5/Iy6Vbw9U4D1NSI38qtTkuF+1YWZvntJbRVqpR08wJDjxIZea4C5YigBdqKPvy65mdlKguzHNSx/WczqraJkC7ap4Hudjwl7xJGNdz3yh5vjOOKogbgosAdYE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714448261; c=relaxed/simple; bh=Hq9bAAzXVOfUtqOv92GE9o97z+9N6P/Hzhx43UZJysI=; h=Date:Subject:From:To:Cc:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FwzaTv2Uuy8AymZjcSebruhtHOYseXI+JI2ma1FTaJUqaQrHXzrhI9/gz+NvJ7Jvy52GD792sBsJePLgoTc+QBMSlRggeDsfE4Uqm+RcxSqCGTkiMs2Oc2tbnW+5P11K21ZIA6LrWCgvpy7//tNzLp/GSNkezeQmJMwKr6yUJCA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PfdWtAcM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PfdWtAcM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 874CEC116B1; Tue, 30 Apr 2024 03:37:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714448260; bh=Hq9bAAzXVOfUtqOv92GE9o97z+9N6P/Hzhx43UZJysI=; h=Date:Subject:From:To:Cc:In-Reply-To:References:From; b=PfdWtAcMTMm+YLbcTV/Qf5OHqS9gMxHNsAVnpU/P3HESloZsw8bMnQtpmKjBpFp+H lAT/uPLzXGELGdg4JOEgaVGt3lHNz1CtEv1wP8dsT1Igy13OhurcYxcE9oqfzPeUi+ 4kQGkeG6VO1fqkoKUjmFC5ySJk8AqB24YexM0cB7oHU/cvi9/cvPQnu3VE4DQHtdiI LLSpH3xTwCTSolYP+CC+XA7vQtQSPIh2vKemnIbQqNyRxILqqaZeRljcHbYskaUdSw DJBR18NK+YObHbFv73dJYA8zR4UtaBa2lLW4NifDYB8G3X6yRM9fhZzEGi+c30Rg55 hl1XMn1ASPlVw== Date: Mon, 29 Apr 2024 20:37:40 -0700 Subject: [PATCH 26/38] xfs_db: dump the inode verity flag From: "Darrick J. Wong" To: aalbersh@redhat.com, ebiggers@kernel.org, cem@kernel.org, djwong@kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, fsverity@lists.linux.dev Message-ID: <171444683510.960383.11746420992762795794.stgit@frogsfrogsfrogs> In-Reply-To: <171444683053.960383.12871831441554683674.stgit@frogsfrogsfrogs> References: <171444683053.960383.12871831441554683674.stgit@frogsfrogsfrogs> User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: fsverity@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Darrick J. Wong Display the verity iflag. Signed-off-by: Darrick J. Wong --- db/inode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/inode.c b/db/inode.c index d7ce7eb77365..6a6bb43dc15a 100644 --- a/db/inode.c +++ b/db/inode.c @@ -213,6 +213,9 @@ const field_t inode_v3_flds[] = { { "metadir", FLDT_UINT1, OI(COFF(flags2) + bitsz(uint64_t) - XFS_DIFLAG2_METADIR_BIT-1), C1, 0, TYP_NONE }, + { "verity", FLDT_UINT1, + OI(COFF(flags2) + bitsz(uint64_t) - XFS_DIFLAG2_VERITY_BIT-1), C1, + 0, TYP_NONE }, { NULL } };