cifs.upcall: clean up flag handling
commitfe57399ac4ddbdc601871579478b996cfc85fcee
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Oct 2009 15:04:58 +0000 (14 11:04 -0400)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Oct 2009 13:04:55 +0000 (16 15:04 +0200)
tree5726ea2a2bf080104d425f4beac2892b9338fcbb
parente919c3ac1229eae35614b92a9daebc71e770ca1b
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>
source/client/cifs.upcall.c