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

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Mar 21 13:41:23 PDT 2014


commit 2e97d776cc2f9927db95335ac8a3178d273e9501
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/2e97d776cc2f9927db95335ac8a3178d273e9501


-- 
DragonFly BSD source repository



More information about the Commits mailing list