X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fhfs%2Fhfs.h;h=6f194d0768b6fd72b76e617ffc7711b0edd25982;hb=257c62e1bce03e5b9f3f069fd52ad73a56de71fd;hp=1445e3a56ed45695428a1633a344c2f5f6462d1b;hpb=54c66f6d781e03dc0b23956234963c4911e6d1c0;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 {