git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57e4430
)
r9009: directory not empty is not an error on failure to delete directory in delete...
author
Andrew Tridgell
<tridge@samba.org>
Wed, 3 Aug 2005 17:52:33 +0000
(17:52 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:31:06 +0000
(13:31 -0500)
source/ntvfs/posix/pvfs_open.c
patch
|
blob
|
history
diff --git
a/source/ntvfs/posix/pvfs_open.c
b/source/ntvfs/posix/pvfs_open.c
index 3ae8e2150f57422a2f823d9adbd83f20a7bea609..d3b9681b58b1b006b57a6ee9aeb2db29c1cdf77d 100644
(file)
--- a/
source/ntvfs/posix/pvfs_open.c
+++ b/
source/ntvfs/posix/pvfs_open.c
@@
-75,7
+75,7
@@
static int pvfs_dir_handle_destructor(void *p)
DEBUG(0,("Warning: xattr rmdir hook failed for '%s' - %s\n",
h->name->full_name, nt_errstr(status)));
}
- if (rmdir(h->name->full_name) != 0) {
+ if (rmdir(h->name->full_name) != 0
&& errno != ENOTEMPTY
) {
DEBUG(0,("pvfs_close: failed to rmdir '%s' - %s\n",
h->name->full_name, strerror(errno)));
}