/* p is at least 6 bytes before the end of page  */
static struct nilfs_dir_entry* nilfs_next_entry(struct nilfs_dir_entry *p)
/* p is at least 6 bytes before the end of page  */
static struct nilfs_dir_entry* nilfs_next_entry(struct nilfs_dir_entry *p)
{
	return (struct nilfs_dir_entry *)((char *)p + le16_to_cpu(p->rec_len));
}