/* p is at least 6 bytes before the end of page  */
static ext2_dirent* ext2_next_entry(ext2_dirent *p)
/* p is at least 6 bytes before the end of page  */
static ext2_dirent* ext2_next_entry(ext2_dirent *p)
{
	return (ext2_dirent *)((char *)p +
			ext2_rec_len_from_disk(p->rec_len));
}