cifs.upcall: clean up flag handling
commit4d2e71c4f6d31c0032b39b92d814ec4dfe074db3
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Oct 2009 15:04:58 +0000 (14 11:04 -0400)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Jan 2010 13:00:50 +0000 (13 14:00 +0100)
tree0effe2c5cf43fe0af9bc71b1b609be4747932844
parent41f47df8c811b04657b20a75e5d6868e92b7632b
cifs.upcall: clean up flag handling

Add a new stack var to hold the flags returned by the decoder routine
so that we don't need to worry so much about preserving "rc".

With this, we can drop privs before trying to find the location of
the credcache.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit fe57399ac4ddbdc601871579478b996cfc85fcee)
source/client/cifs.upcall.c