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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22B35C7EE2F for ; Sun, 26 Feb 2023 03:44:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229803AbjBZDoi (ORCPT ); Sat, 25 Feb 2023 22:44:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229873AbjBZDoC (ORCPT ); Sat, 25 Feb 2023 22:44:02 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8367B14987; Sat, 25 Feb 2023 19:43:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F1E4560BC9; Sun, 26 Feb 2023 03:43:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E226CC4339C; Sun, 26 Feb 2023 03:43:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677382981; bh=aX2tqQWI0kzv6Q+vvbdWIkqEj01/dVPrpdhiOS3Ds3Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ug3dLthpJ2BpaskshXey1OXj6ml7za6bg7EYNkwv6+jP18nt/dPK7cLrdePV8tqOs 1+ONIKaUbz1i9GhRfRdhXGsBlj49YHlU32P/op8+EfrFH9xm/L5WfsmIXRwjjZWBnR p002NlUgyF3ngFBtdg01TbTAFf1cYTdQScRtXa/PIDj/4OfTBbxwTCGuMO9nO8HIlU 63YPxiVdULVWgSUjicQbHQrm4IJCZwalmiGmybG9Fn0ICFrbLKfUQY31PxuYDFi5Wy i9DdmMpHFUztRYf4gqOq9oGBmPE6E71R6H8uHURVEMoqKdSP13aJLEVPDYsZD5UPlV n8Xv0eeyNRX6w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jan Kara , Sasha Levin , jack@suse.com Subject: [PATCH AUTOSEL 6.1 03/21] udf: Define EFSCORRUPTED error code Date: Sat, 25 Feb 2023 22:42:38 -0500 Message-Id: <20230226034256.771769-3-sashal@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230226034256.771769-1-sashal@kernel.org> References: <20230226034256.771769-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kara [ Upstream commit 3d2d7e61553dbcc8ba45201d8ae4f383742c8202 ] Similarly to other filesystems define EFSCORRUPTED error code for reporting internal filesystem corruption. Signed-off-by: Jan Kara Signed-off-by: Sasha Levin --- fs/udf/udf_sb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h index 4fa620543d302..2205859731dc2 100644 --- a/fs/udf/udf_sb.h +++ b/fs/udf/udf_sb.h @@ -51,6 +51,8 @@ #define MF_DUPLICATE_MD 0x01 #define MF_MIRROR_FE_LOADED 0x02 +#define EFSCORRUPTED EUCLEAN + struct udf_meta_data { __u32 s_meta_file_loc; __u32 s_mirror_file_loc; -- 2.39.0