git: sys/gnu/vfs/ext2fs: Remove|fix duplicated macro definitions

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Jun 6 07:01:15 PDT 2015


commit 27bd2f35d68af84b9ed35d81814062c34046b646
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Jun 6 19:09:44 2015 +0900

    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)

Summary of changes:
 sys/gnu/vfs/ext2fs/dinode.h     | 1 +
 sys/gnu/vfs/ext2fs/dir.h        | 4 +++-
 sys/gnu/vfs/ext2fs/ext2_fs_sb.h | 4 ++--
 sys/gnu/vfs/ext2fs/inode.h      | 6 +-----
 4 files changed, 7 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/27bd2f35d68af84b9ed35d81814062c34046b646


-- 
DragonFly BSD source repository



More information about the Commits mailing list