From mboxrd@z Thu Jan 1 00:00:00 1970 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 780208825 for ; Fri, 10 Mar 2023 14:59:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9263C4339C; Fri, 10 Mar 2023 14:59:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1678460369; bh=GD9fZiPmg8hvZaGBCbqBinxIG6NERqz58DxiMg3ekjk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kix9ED2n5kGzEn8OdwwyB+qyUyCKfMpkm8L67KLGbaTz4oTZ9LIarmfyVF46hS72u c8YrGheZzRP5OrKdpFk/xH5cVhHzkiNw/SRd4A+q43LP02XL1ow0MU5JBwlY4wb+Qb gor+V2izEYYn5SwU0tNCoMXUeMZM2EJzzxsqmcZc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jan Kara , Sasha Levin Subject: [PATCH 5.10 281/529] udf: Define EFSCORRUPTED error code Date: Fri, 10 Mar 2023 14:37:04 +0100 Message-Id: <20230310133817.976617539@linuxfoundation.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230310133804.978589368@linuxfoundation.org> References: <20230310133804.978589368@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.2