git: DragonFly_RELEASE_3_6 kernel/msdosfs: Merge deName and deExtension in the direntry struct.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Mar 21 13:42:11 PDT 2014


commit ef3875d2a4612dc6c1c41a3abfc20b59ca6e1c6e
Author: Sascha Wildner <saw at online.de>
Date:   Fri Mar 21 21:39:12 2014 +0100

    kernel/msdosfs: Merge deName and deExtension in the direntry struct.
    
    * winChkSum() in msdosfs_conv.c was assuming that deExtension was
      following deName in memory, which is meh.
    
    * While here, add some include guards and put some reserved bytes
      explicitly in the structs.
    
    This is basically r203827 from FreeBSD.

Summary of changes:
 sys/vfs/msdosfs/bootsect.h      |  6 +++++-
 sys/vfs/msdosfs/bpb.h           | 10 +++++++---
 sys/vfs/msdosfs/direntry.h      |  9 ++++++---
 sys/vfs/msdosfs/msdosfs_vnops.c |  4 ++--
 4 files changed, 20 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ef3875d2a4612dc6c1c41a3abfc20b59ca6e1c6e


-- 
DragonFly BSD source repository



More information about the Commits mailing list