vfs_preopen: completely reset the queue if the name structure changes
authorStefan Metzmacher <metze@samba.org>
Fri, 18 Jun 2021 13:31:58 +0000 (13:31 +0000)
committerStefan Metzmacher <metze@samba.org>
Thu, 1 Jul 2021 13:02:31 +0000 (13:02 +0000)
commit0900ab40d6de6b6d878b6a48cb3df464d536d91b
tree3c3a5bcb24c86c734f9009256320b0a41a1cc037
parentd34c291d98e6b0e061406e4d0760ce7db8e69a3f
vfs_preopen: completely reset the queue if the name structure changes

There's no point in trying to check if the current number is part
of the existing queue. This makes the logic at least more unstandable
to me.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_preopen.c