[LIBS] vfs: Make ext2 data structure compatible to ext3 and ext4

Signed-off-by: Anup Patel <anup@brainfault.org>