s3: Copy share mode handling from before to after open_file
commit8be0f4d30f84e8d9ba0a49ce71f331977f0fb8e7
authorVolker Lendecke <vl@samba.org>
Wed, 26 Sep 2012 17:39:42 +0000 (26 10:39 -0700)
committerVolker Lendecke <vl@samba.org>
Sat, 29 Sep 2012 15:42:49 +0000 (29 08:42 -0700)
treeab889cfab743dc9099f2d3d14f0e9e64a4b22d6e
parent6fbb1b5fd55897def70b9603423f23ed8335428e
s3: Copy share mode handling from before to after open_file

This is a 1:1 copy&paste of the oplock/sharemode code that we do before
an existing file is opened. It is a prerequiste for a patch that removes
all of that handling before we open the file.
source3/smbd/open.c