summaryrefslogtreecommitdiffstats
path: root/fs/udf/udf_sb.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2022-09-29 16:34:45 +0200
committerJan Kara <jack@suse.cz>2023-01-09 10:39:51 +0100
commit3d2d7e61553dbcc8ba45201d8ae4f383742c8202 (patch)
tree0f0df67271329ceccdbc2e9625066a1700ef9d09 /fs/udf/udf_sb.h
parentMerge tag 'xfs-6.2-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux (diff)
downloadlinux-3d2d7e61553dbcc8ba45201d8ae4f383742c8202.tar.xz
linux-3d2d7e61553dbcc8ba45201d8ae4f383742c8202.zip
udf: Define EFSCORRUPTED error code
Similarly to other filesystems define EFSCORRUPTED error code for reporting internal filesystem corruption. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udf_sb.h')
-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 291b56dd011e..6bccff3c70f5 100644
--- a/fs/udf/udf_sb.h
+++ b/fs/udf/udf_sb.h
@@ -55,6 +55,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;