Simplify the logic in open_file() some more.
commit3aa186f1d4d9ca723fb9c876d0b3fc1f58d556fb
authorJeremy Allison <jra@samba.org>
Mon, 9 Jul 2012 23:13:06 +0000 (9 16:13 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 10 Jul 2012 01:30:22 +0000 (10 03:30 +0200)
treeec9caffd15a9e0918d2026f46b301004bb9a81c9
parent3a705e5f3d0843e3765852e26661aeee5ebdfd79
Simplify the logic in open_file() some more.

Move the inheritance work into the if block
where we created the file. We can never have
created the file (and thus need no inheritance)
for a stat-open.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jul 10 03:30:22 CEST 2012 on sn-devel-104
source3/smbd/open.c