]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Simplify delete_all_streams()
authorVolker Lendecke <vl@samba.org>
Thu, 2 Jan 2025 17:14:43 +0000 (18:14 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 23 Jan 2025 23:08:38 +0000 (23:08 +0000)
commit09f49fb56a4d89283f4cf12e4bacd043b14917b2
tree684e37a3485d19c036a6eb7b80e5004c1eb4874a
parent79dd3a3223d5ac1f921ff4f5cbfe6ecc767f8fbf
smbd: Simplify delete_all_streams()

In our callers we have the dirfsp around, use that and avoid
references to conn->cwd_fsp and deep path-based operations

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/close.c
source3/smbd/open.c
source3/smbd/proto.h