X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fhfs%2Fhfs.h;h=6f194d0768b6fd72b76e617ffc7711b0edd25982;hb=e3166331a3288dd7184548896a1c7ab682f0dbe8;hp=88099ab1a180121449cfc04d7ca3a0d26b9366ef;hpb=4e0c1159d83a658d1ffba5bc3442f4ec4cadb436;p=karo-tx-linux.git diff --git a/fs/hfs/hfs.h b/fs/hfs/hfs.h index 88099ab1a180..6f194d0768b6 100644 --- a/fs/hfs/hfs.h +++ b/fs/hfs/hfs.h @@ -83,8 +83,6 @@ /*======== HFS structures as they appear on the disk ========*/ -#define __packed __attribute__ ((packed)) - /* Pascal-style string of up to 31 characters */ struct hfs_name { u8 len; @@ -169,6 +167,9 @@ typedef union hfs_btree_key { struct hfs_ext_key ext; } hfs_btree_key; +#define HFS_MAX_CAT_KEYLEN (sizeof(struct hfs_cat_key) - sizeof(u8)) +#define HFS_MAX_EXT_KEYLEN (sizeof(struct hfs_ext_key) - sizeof(u8)) + typedef union hfs_btree_key btree_key; struct hfs_extent {