From: Volker Lendecke Date: Thu, 2 Jan 2025 13:49:30 +0000 (+0100) Subject: smbd: Make recursive_rmdir_fsp() public X-Git-Tag: tevent-0.17.0~595 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3687ed9390bbd452a3d9a004f4bc196549f7d22;p=thirdparty%2Fsamba.git smbd: Make recursive_rmdir_fsp() public Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/close.c b/source3/smbd/close.c index c5b6c622d70..2f09323c008 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -978,7 +978,7 @@ static NTSTATUS close_normal_file(struct smb_request *req, files_struct *fsp, return status; } -static NTSTATUS recursive_rmdir_fsp(struct files_struct *fsp) +NTSTATUS recursive_rmdir_fsp(struct files_struct *fsp) { struct connection_struct *conn = fsp->conn; const char *dname = NULL; diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index f53b6a7bbfb..d574f5c4685 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -134,6 +134,7 @@ void msg_close_file(struct messaging_context *msg_ctx, NTSTATUS delete_all_streams(struct files_struct *fsp, struct files_struct *dirfsp, struct smb_filename *fsp_atname); +NTSTATUS recursive_rmdir_fsp(struct files_struct *fsp); NTSTATUS recursive_rmdir(TALLOC_CTX *ctx, connection_struct *conn, struct smb_filename *smb_dname);