From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C961C55196 for ; Mon, 3 Aug 2026 20:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:MIME-Version:References:In-Reply-To: Message-ID:Date:To:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZdRl3wMF2i8ayGmjAaFUrt13Hfq7VrUCjJcgLnO/vmI=; b=XA4B2cUMxXgd+34Oy3sgucEWre NXHTfsZhxOpd7uFp4ntqT44s2VdNMB+zzcI/u7dxcP+whqgB1yAM1A1LintqQl20eiWyHq8TTMVGP 5Lug/ULWKA595TcKcI9sZprSL8kU1Ddcl5gHeGbEys64aDDpE2isd9uUZjoCWqE+zssU=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wqyzN-0001iK-6a; Mon, 03 Aug 2026 20:10:21 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wqyzM-0001i9-JB for linux-f2fs-devel@lists.sourceforge.net; Mon, 03 Aug 2026 20:10:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9UsWTPXNPtGAnC/NXDW+DJPQrI7L9qVnDZTXWpl6xCI=; b=XaZz+znLcRlyPqF9NStBXL3rZE B7ZvcNj42BgAxVayljUFSP1XhqQO/cTbumOlyr2aaviHHony6QM8lDQ6z1iSoQyG3a3Ej4tFez4hf q+z4O31G/BaKYFJjKCfc3zhjbRjEK9Mw4gGsjzP4jBGHaIcOEd2AAG9IvaLDLuxWBJGo=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=9UsWTPXNPtGAnC/NXDW+DJPQrI7L9qVnDZTXWpl6xCI=; b=W20Ki6V11/V0iD2cIVCp8Siq3a xL5dnB6h8xOW5bOexMjCnZQDvdTf2uhdlJPhj2Hx6EHoQzkgLv8qQ4u5CP2zw2aG/ceiFKVqF9xwE JZOv/8pSPnTd/pHyIYrHKenMfxzwrm4a/LIwNH84kNhvD/yZjxouSwgWKogltmu0inQc=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wqyzM-0000y4-Rf for linux-f2fs-devel@lists.sourceforge.net; Mon, 03 Aug 2026 20:10:20 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id ED2F843A88; Mon, 3 Aug 2026 20:10:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 103231F00A3A; Mon, 3 Aug 2026 20:10:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785787811; bh=9UsWTPXNPtGAnC/NXDW+DJPQrI7L9qVnDZTXWpl6xCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=G022tgnCKzcm9H3JLeiqixeL5CzvCMQio8NtQirf+5YHa6q4K/upWaSaTAZtSEYUA d4oj/gdNzLYtzEzqZFBVG3MQ1HClLkJ4A+cM9V90igHp5dxjCmu/M07GpnsFkXNRE9 Klx1M2/cxcgchKb94lSQs1RUOUKGTnkAqcp1oxZRWc+1edgXX0WN4OVbFJsMOch8la zqu6Bh/j9EwioaJuC1JosCw1v5XsCT0rzMly+v7KJ90kxIBE0xaD4OjiSG/3u+/YER bldBOq6F3NtCi1O1xTu2ko3TIir3CsXOMIqLiocjVe/xu7PkxHuhveP78oIubns5pH TfUXHaYng4kSQ== To: linux-xfs@vger.kernel.org, fsverity@lists.linux.dev, linux-fsdevel@vger.kernel.org, ebiggers@kernel.org Date: Mon, 3 Aug 2026 22:08:11 +0200 Message-ID: <20260803200820.393203-22-aalbersh@kernel.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260803200820.393203-1-aalbersh@kernel.org> References: <20260803200820.393203-1-aalbersh@kernel.org> MIME-Version: 1.0 X-Headers-End: 1wqyzM-0000y4-Rf Subject: [f2fs-dev] [PATCH v14 21/21] xfs: enable ro-compat fs-verity flag X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Albershteyn via Linux-f2fs-devel Reply-To: Andrey Albershteyn Cc: Andrey Albershteyn , djwong@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org, hch@lst.de, linux-btrfs@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Finalize fs-verity integration in XFS by making kernel fs-verity aware with ro-compat flag. Reviewed-by: Darrick J. Wong [djwong: add spaces] Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Andrey Albershteyn --- fs/xfs/libxfs/xfs_format.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index fc196d9e12dd..8be1b101b196 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h @@ -378,8 +378,9 @@ xfs_sb_has_compat_feature( #define XFS_SB_FEAT_RO_COMPAT_ALL \ (XFS_SB_FEAT_RO_COMPAT_FINOBT | \ XFS_SB_FEAT_RO_COMPAT_RMAPBT | \ - XFS_SB_FEAT_RO_COMPAT_REFLINK| \ - XFS_SB_FEAT_RO_COMPAT_INOBTCNT) + XFS_SB_FEAT_RO_COMPAT_REFLINK | \ + XFS_SB_FEAT_RO_COMPAT_INOBTCNT | \ + XFS_SB_FEAT_RO_COMPAT_VERITY) #define XFS_SB_FEAT_RO_COMPAT_UNKNOWN ~XFS_SB_FEAT_RO_COMPAT_ALL static inline bool xfs_sb_has_ro_compat_feature( -- 2.54.0 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 02F453AD503; Mon, 3 Aug 2026 20:10:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785787813; cv=none; b=Z/oCXPBvjm+CM5fdNqXXi/EKusK8RTdQMcGV12zIF4zjRBztL5DR6vzhDWhu4SmuSH2Iih0/uTTwOSBnvRLfnN/ZbvwTf94n8Za1uo7miVCP2Tszk1ulkc8NyYQ5Aq2jJHXUtg2ixhkDTcmhcwasRwY9JNW8diY2gYNfWA2lLGo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785787813; c=relaxed/simple; bh=zD3fqdriNeyS4psrX9dNSbGJrsTYYoWrAlK7wvQAbGQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rwM3aFlklljwtEvbkCUWXufD6Fio8VqtB6jQlcOIK46k40G0VUB/2S46wZvQOMRfNcySblVo13cJU52c12pbOcku+RIwFPSnKlvGJTqt+yzR3Q3KSwuunT/ILQzL/ISbFnZD/4my+H0Nhbn0uTrL6HMcf9k3SI9NpeENbXZdOsE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G022tgnC; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G022tgnC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 103231F00A3A; Mon, 3 Aug 2026 20:10:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785787811; bh=9UsWTPXNPtGAnC/NXDW+DJPQrI7L9qVnDZTXWpl6xCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=G022tgnCKzcm9H3JLeiqixeL5CzvCMQio8NtQirf+5YHa6q4K/upWaSaTAZtSEYUA d4oj/gdNzLYtzEzqZFBVG3MQ1HClLkJ4A+cM9V90igHp5dxjCmu/M07GpnsFkXNRE9 Klx1M2/cxcgchKb94lSQs1RUOUKGTnkAqcp1oxZRWc+1edgXX0WN4OVbFJsMOch8la zqu6Bh/j9EwioaJuC1JosCw1v5XsCT0rzMly+v7KJ90kxIBE0xaD4OjiSG/3u+/YER bldBOq6F3NtCi1O1xTu2ko3TIir3CsXOMIqLiocjVe/xu7PkxHuhveP78oIubns5pH TfUXHaYng4kSQ== From: Andrey Albershteyn To: linux-xfs@vger.kernel.org, fsverity@lists.linux.dev, linux-fsdevel@vger.kernel.org, ebiggers@kernel.org Cc: Andrey Albershteyn , hch@lst.de, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-btrfs@vger.kernel.org, djwong@kernel.org Subject: [PATCH v14 21/21] xfs: enable ro-compat fs-verity flag Date: Mon, 3 Aug 2026 22:08:11 +0200 Message-ID: <20260803200820.393203-22-aalbersh@kernel.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260803200820.393203-1-aalbersh@kernel.org> References: <20260803200820.393203-1-aalbersh@kernel.org> Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Finalize fs-verity integration in XFS by making kernel fs-verity aware with ro-compat flag. Reviewed-by: Darrick J. Wong [djwong: add spaces] Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Andrey Albershteyn --- fs/xfs/libxfs/xfs_format.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index fc196d9e12dd..8be1b101b196 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h @@ -378,8 +378,9 @@ xfs_sb_has_compat_feature( #define XFS_SB_FEAT_RO_COMPAT_ALL \ (XFS_SB_FEAT_RO_COMPAT_FINOBT | \ XFS_SB_FEAT_RO_COMPAT_RMAPBT | \ - XFS_SB_FEAT_RO_COMPAT_REFLINK| \ - XFS_SB_FEAT_RO_COMPAT_INOBTCNT) + XFS_SB_FEAT_RO_COMPAT_REFLINK | \ + XFS_SB_FEAT_RO_COMPAT_INOBTCNT | \ + XFS_SB_FEAT_RO_COMPAT_VERITY) #define XFS_SB_FEAT_RO_COMPAT_UNKNOWN ~XFS_SB_FEAT_RO_COMPAT_ALL static inline bool xfs_sb_has_ro_compat_feature( -- 2.54.0