s3: Avoid "file_existed" in smbd_calculate_maximum_allowed_access
authorVolker Lendecke <vl@samba.org>
Fri, 16 Dec 2011 17:51:19 +0000 (18:51 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 3 Jan 2012 12:38:02 +0000 (13:38 +0100)
commitc01f02a4b97de453a0db7feb3c2d323f05fac7f6
tree1894ac3b207713d2d60b58bf3c64c5450fe29167
parent49a520217ceb04cbd4278a3bce7cb1f8dd04b018
s3: Avoid "file_existed" in smbd_calculate_maximum_allowed_access

We access the file by name anyway, so we can just try to access it. The file
system will for sure tell us if the file does not exist.
source3/smbd/open.c