[LTP] [PATCH 2/3] Adding magic definition required for hugemmap40.

Petr Vorel pvorel@suse.cz
Thu Nov 27 09:19:52 CET 2025


Hi Pavithra,

...
> +++ b/include/tst_fs.h
> @@ -33,6 +33,7 @@
>  #define TST_FUSE_MAGIC     0x65735546
>  #define TST_VFAT_MAGIC     0x4d44 /* AKA MSDOS */
>  #define TST_EXFAT_MAGIC    0x2011BAB0UL
> +#define HUGETLBFS_MAGIC	   0x958458f6

Could you please use "TST_" prefix for that definition (i.e.
TST_HUGETLBFS_MAGIC) as it is used for other LTP specific definitions?
That way we avoid constant redefinition in case of including <linux/magic.h>.

With that you may add:
Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list