Commit
60ddee64f6e6c178766325591e80d63a673ad111 - smbd: simplify rmdir_internals()
had a bug where it carefully set unlink_flags but then didn't use them in the
following SMB_VFS_UNLINKAT() call.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jun 3 20:23:38 UTC 2021 on sn-devel-184
retval = SMB_VFS_UNLINKAT(conn,
dirfsp,
direntry_fname,
- AT_REMOVEDIR);
+ unlink_flags);
if (retval != 0) {
goto err_break;
}