s3: smbd: Add dptr_fsp() to return any stored files_struct pointer.
authorJeremy Allison <jra@samba.org>
Wed, 17 Jul 2019 18:00:06 +0000 (11:00 -0700)
committerRalph Boehme <slow@samba.org>
Tue, 6 Aug 2019 14:23:33 +0000 (14:23 +0000)
commit2ba48f76ecaab3ddcd5d030a1dab3b5a889532b6
tree5103192a3cda9d7f61df60da3e5218b62bb642be
parentf61dae7635971bcbae4d191219ccb5365984d059
s3: smbd: Add dptr_fsp() to return any stored files_struct pointer.

Will allow [find/search]_next() calls to find and close any associated
fsp. This function is temporary and will eventually go away once I
modify dptr_fetch() to return an fsp.

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