On Jun 11, 2007  18:42 +0200, Valerie Clement wrote:
> +#define EXT2_DESC_PER_BLOCK(s)               (EXT2_BLOCK_SIZE(s) / \
> +     ((EXT2_SB(s)->s_feature_incompat & EXT4_FEATURE_INCOMPAT_64BIT) ? \
> +      sizeof(struct ext4_group_desc) : sizeof(struct ext2_group_desc)))

This should actually use s_desc_size and not "sizeof(struct ext4_group_desc)",
as we may want to increase the size of s_desc_size for some other reason in
the future.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to