X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fhfs%2Fhfs.h;h=6f194d0768b6fd72b76e617ffc7711b0edd25982;hb=0671b7674f42ab3a200401ea0e48d6f47d34acae;hp=1445e3a56ed45695428a1633a344c2f5f6462d1b;hpb=b0138a6cb7923a997d278b47c176778534d1095b;p=~andy%2Flinux diff --git a/fs/hfs/hfs.h b/fs/hfs/hfs.h index 1445e3a56ed..6f194d0768b 100644 --- a/fs/hfs/hfs.h +++ b/fs/hfs/hfs.h @@ -167,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 {