git: sys/vfs/msdosfs: Allow deupdat() against non root directory

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Nov 14 05:20:55 PST 2019


commit bf95f21c45110fb6942ba6f04ecb928bbd4fffbf
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Nov 16 07:23:24 2019 +0900

    sys/vfs/msdosfs: Allow deupdat() against non root directory
    
    bits from freebsd/freebsd at c7af094e18c4e4ca2a26a88c488a803472d330ee
    
    Given ondisk layout of root directory in FAT12/16 and FAT32,
    don't allow deupdat() or setattr() against root directory,
    but allow against other directories.

Summary of changes:
 sys/vfs/msdosfs/msdosfs_denode.c |  4 ++--
 sys/vfs/msdosfs/msdosfs_vnops.c  | 12 ++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list