s3: smbd: Cleanup - make recursive_rmdir() return a more expressive NTSTATUS not...
commit28522bb3771245ae69d7c9e279214b1f8ad2c526
authorJeremy Allison <jra@samba.org>
Thu, 3 Mar 2022 17:34:45 +0000 (3 09:34 -0800)
committerRalph Boehme <slow@samba.org>
Fri, 4 Mar 2022 17:43:42 +0000 (4 17:43 +0000)
tree667ceeda4939b388181f4565d72aa969020e5006
parentb3514a57e9b9b35bc9983d997191c575eeebcf85
s3: smbd: Cleanup - make recursive_rmdir() return a more expressive NTSTATUS not bool.

Next cleanup the internals of rmdir_internals() to do an early map
of errno -> NTSTATUS to avoid mapping back and forth.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/close.c
source3/smbd/proto.h