git: hammer2 - Reorder errno priority for unlink directory errors

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


commit f261d7b61368c40f1d4114ae3d9d9d6ccb009ae4
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/f261d7b61368c40f1d4114ae3d9d9d6ccb009ae4


-- 
DragonFly BSD source repository



More information about the Commits mailing list