summaryrefslogtreecommitdiffstats
path: root/fs/udf
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2022-09-29 16:34:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 16:31:45 +0100
commit5c034e88aba86508911126e34322dfbc79a2a27f (patch)
tree8f175cc379bf52161317d040d560a4d85c3e853a /fs/udf
parentfec6a375fdd87dfe02936c5029197ea670b560ab (diff)
downloadlinux-stable-5c034e88aba86508911126e34322dfbc79a2a27f.tar.gz
linux-stable-5c034e88aba86508911126e34322dfbc79a2a27f.tar.bz2
linux-stable-5c034e88aba86508911126e34322dfbc79a2a27f.zip
udf: Define EFSCORRUPTED error code
[ Upstream commit 3d2d7e61553dbcc8ba45201d8ae4f383742c8202 ] Similarly to other filesystems define EFSCORRUPTED error code for reporting internal filesystem corruption. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/udf')
-rw-r--r--fs/udf/udf_sb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h
index d12e507e9eb2..aa58173b468f 100644
--- a/fs/udf/udf_sb.h
+++ b/fs/udf/udf_sb.h
@@ -57,6 +57,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;