diff options
Diffstat (limited to 'serverboot/ffs_compat.c')
-rw-r--r-- | serverboot/ffs_compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/serverboot/ffs_compat.c b/serverboot/ffs_compat.c index 46644a9b..6e322b63 100644 --- a/serverboot/ffs_compat.c +++ b/serverboot/ffs_compat.c @@ -25,6 +25,8 @@ #include <file_io.h> +#define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof (struct ext2_inode)) + int ino2blk (struct ext2_super_block *fs, struct ext2_group_desc *gd, int ino) { int group; |