hammer2 - Reorder errno priority for unlink directory errors
commit2814a6c2d2d791ad5ae0db0a9a6f06ae67444abf
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 2 Aug 2019 05:13:49 +0000 (1 22:13 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 2 Aug 2019 05:21:14 +0000 (1 22:21 -0700)
tree3ce7754e0caaec62997cab16c6371b675500aee8
parent2ea76c0bd4a124d77106d1564fbe7fc69c97d7e2
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
sys/vfs/hammer2/hammer2_xops.c