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:
9c5dc89
)
s3: VFS: vfs_streams_depot: Change RMDIR -> UNLINKAT inside streams_depot_unlink_inte...
author
Jeremy Allison
<jra@samba.org>
Fri, 4 Oct 2019 22:40:34 +0000
(15:40 -0700)
committer
Ralph Boehme
<slow@samba.org>
Thu, 10 Oct 2019 06:09:40 +0000
(06:09 +0000)
No logic change.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_streams_depot.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_streams_depot.c
b/source3/modules/vfs_streams_depot.c
index c48513c2849de3e66ac27553caeffdac8c029bbf..0e2bfa9684de40440ff3f98447e11f3954039035 100644
(file)
--- a/
source3/modules/vfs_streams_depot.c
+++ b/
source3/modules/vfs_streams_depot.c
@@
-729,7
+729,10
@@
static int streams_depot_unlink_internal(vfs_handle_struct *handle,
errno = ENOMEM;
return -1;
}
- SMB_VFS_NEXT_RMDIR(handle, smb_fname_dir);
+ SMB_VFS_NEXT_UNLINKAT(handle,
+ dirfsp,
+ smb_fname_dir,
+ AT_REMOVEDIR);
TALLOC_FREE(smb_fname_dir);
}
TALLOC_FREE(dirname);