X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fhfs%2Fhfs.h;h=6f194d0768b6fd72b76e617ffc7711b0edd25982;hb=8b91ac09732895f928ed6107bda5318cf260520b;hp=1445e3a56ed45695428a1633a344c2f5f6462d1b;hpb=920841d8d1d61bc12b43f95a579a5374f6d98f81;p=linux-2.6-omap-h63xx.git 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 {