s3: Fix fcb_or_dos_open after logic change
commit590d3138be0293fbe9cb575261eb5319351d1e91
authorVolker Lendecke <vl@samba.org>
Thu, 13 Sep 2012 13:45:49 +0000 (13 15:45 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 29 Sep 2012 15:42:49 +0000 (29 08:42 -0700)
tree53fb6bc36bfce3107d775ff7379c598f764371cf
parent8be0f4d30f84e8d9ba0a49ce71f331977f0fb8e7
s3: Fix fcb_or_dos_open after logic change

With the new behaviour, we call fcb_or_dos_open after open_file(). It
is open_file() that sets up the fsp so that fcb_or_dos_open can find it
in the list of fsps. Avoid finding the fsp we are just setting up.
source3/smbd/open.c