git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3221bab
)
s3: VFS: vfs_posix_eadb: Convert posix_eadb_rmdir_internal() to call UNLINKAT() inste...
author
Jeremy Allison
<jra@samba.org>
Fri, 4 Oct 2019 22:07:46 +0000
(15:07 -0700)
committer
Ralph Boehme
<slow@samba.org>
Thu, 10 Oct 2019 06:09:39 +0000
(06:09 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_posix_eadb.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_posix_eadb.c
b/source3/modules/vfs_posix_eadb.c
index 665469e2ed9f57529848f952fc7c3b6957b308d3..436a880d2ecd2a01e1287acf26580922760d1a3b 100644
(file)
--- a/
source3/modules/vfs_posix_eadb.c
+++ b/
source3/modules/vfs_posix_eadb.c
@@
-378,7
+378,10
@@
static int posix_eadb_rmdir_internal(vfs_handle_struct *handle,
tdb_transaction_cancel(ea_tdb->tdb);
}
- ret = SMB_VFS_NEXT_RMDIR(handle, smb_fname);
+ ret = SMB_VFS_NEXT_UNLINKAT(handle,
+ dirfsp,
+ smb_fname,
+ AT_REMOVEDIR);
if (ret == -1) {
tdb_transaction_cancel(ea_tdb->tdb);