diff options
author | Jeremy Allison <jra@samba.org> | 2019-10-04 14:03:39 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-10-10 06:09:40 +0000 |
commit | 576a143deb3aa2ab4ba183a8e81874d6210e9026 (patch) | |
tree | 153dae2959d2b954b71577895bddf77da5ead8bf /source3/modules | |
parent | c6235f297e7da35411c0effa2394bdc679e433c9 (diff) | |
download | samba-576a143deb3aa2ab4ba183a8e81874d6210e9026.tar.gz |
s3: VFS: vfs_fruit: Change fruit_rmdir_internal() to call UNLINKAT instead of RMDIR.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_fruit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index a863f47fe1e..aa8d3a088b4 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -2203,7 +2203,10 @@ exit_rmdir: if (dh) { SMB_VFS_CLOSEDIR(handle->conn, dh); } - return SMB_VFS_NEXT_RMDIR(handle, smb_fname); + return SMB_VFS_NEXT_UNLINKAT(handle, + dirfsp, + smb_fname, + AT_REMOVEDIR); } static int fruit_rmdir(struct vfs_handle_struct *handle, |