sahlberg/libnfs — pull request #96 by rosslagerwall (2014-08-08 19:21:32+00:00)
Title: Map NFS3ERR_NOTEMPTY to ENOTEMPTY

Map NFS3ERR_NOTEMPTY to ENOTEMPTY rather than EEXIST. POSIX allows
either EEXIST or ENOTEMPTY for rmdir on a non-empty directory but
ENOTEMPTY is more explicit and in line with Linux, OS X, FreeBSD and
OpenBSD's behavior.

Signed-off-by: Ross Lagerwall