Re: [PATCH AUTOSEL 4.19 1/3] udf: Define EFSCORRUPTED error code

Pavel Machek
2023-02-27T16:29:58Z

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

Hi!

> From: Jan Kara <jack@suse.cz>
>
> [ Upstream commit 3d2d7e61553dbcc8ba45201d8ae4f383742c8202 ]
>
> Similarly to other filesystems define EFSCORRUPTED error code for
> reporting internal filesystem corruption.

Does not fix a bug, AFAICT, and should not be in stable.

If we need it in future, this should go in as a dependency.

Best regards,
Pavel
> --- 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;

--
People of Russia, stop Putin before his war on Ukraine escalates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]