git: DragonFly_RELEASE_5_6 hammer2 - Reorder errno priority for unlink directory errors

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 1 22:21:18 PDT 2019


commit 2814a6c2d2d791ad5ae0db0a9a6f06ae67444abf
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Aug 1 22:13:49 2019 -0700

    hammer2 - Reorder errno priority for unlink directory errors
    
    * When AT_REMOVEDIR is not specified, or unlink() is called on a
      directory, prioritize returning EISDIR over ENOTEMPTY.
    
    * Unbreaks part of 'go'.
    
    Reported-by: hsw

Summary of changes:
 sys/vfs/hammer2/hammer2_xops.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2814a6c2d2d791ad5ae0db0a9a6f06ae67444abf


-- 
DragonFly BSD source repository



More information about the Commits mailing list