sys/gnu/vfs/ext2fs: Remove|fix duplicated macro definitions
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 6 Jun 2015 10:09:44 +0000 (19:09 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 6 Jun 2015 13:41:06 +0000 (22:41 +0900)
commit27bd2f35d68af84b9ed35d81814062c34046b646
tree83499e9c9db93197cc7d3098c651a1ab08ea2060
parente0f7b28391d71bbf363e2e6df236e42db84331d5
sys/gnu/vfs/ext2fs: Remove|fix duplicated macro definitions

- Define MAXNAMLEN using EXT2_NAME_LEN since EXT2_NAME_LEN
  is the original ondisk definition.

- Bring back MAXSYMLINKLEN that was removed in a0403c0
  using EXT2_MAXSYMLINKLEN. It's probably better to keep both
  EXT2_MAXSYMLINKLEN and MAXSYMLINKLEN just like above MAXNAMLEN
  does considering it's been exposed to userspace and removing
  may break them (although there are probably none or very few).

- Remove duplicated MAXMNTLEN definition.

- (Note that dfly's ext2 seems to be broken currently)
sys/gnu/vfs/ext2fs/dinode.h
sys/gnu/vfs/ext2fs/dir.h
sys/gnu/vfs/ext2fs/ext2_fs_sb.h
sys/gnu/vfs/ext2fs/inode.h