summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-29 11:24:42 +0200
committerGravatar Martin Szulecki2009-07-29 11:24:42 +0200
commitebf587e632af409a8ee58173c43f31cd3b7e3e6e (patch)
tree9c93e9809872c6e20b035b60e3bb24a0bb64397e /src
parent7d74f3d49d5590ec3145f7e7146b1188039cb17f (diff)
downloadifuse-ebf587e632af409a8ee58173c43f31cd3b7e3e6e.tar.gz
ifuse-ebf587e632af409a8ee58173c43f31cd3b7e3e6e.tar.bz2
Add new error code mapping to handle deletion of non empty directories
Diffstat (limited to 'src')
-rw-r--r--src/ifuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 3e8ecb5..bf5f9aa 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -71,6 +71,7 @@ struct afc_error_mapping {
{AFC_E_INVALID_ARGUMENT , EINVAL},
{AFC_E_OBJECT_NOT_FOUND , ENOENT},
{AFC_E_OBJECT_IS_DIR , EISDIR},
+ {AFC_E_DIR_NOT_EMPTY , ENOTEMPTY},
{AFC_E_PERM_DENIED , EPERM},
{AFC_E_SERVICE_NOT_CONNECTED , ENXIO},
{AFC_E_OP_TIMEOUT , ETIMEDOUT},