Don't switch user contexts unless you have to. Saves
authorJeremy Allison <jra@samba.org>
Fri, 11 Jan 2008 00:35:54 +0000 (16:35 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 11 Jan 2008 00:35:54 +0000 (16:35 -0800)
commitf33f4ef4a24fcbf09eeba0d51e7db74e9b13b432
treedfb7191eac84846a3edf20696f8f02516f04a8e8
parent13785d5c62093540139094f6dfcf808100790939
Don't switch user contexts unless you have to. Saves
a bunch of syscalls on close. Noticed by Volker.
Jeremy.
(This used to be commit 3caeeaea162e2083a087c242b850c107a3be1bf9)
source3/smbd/close.c
source3/smbd/sec_ctx.c