cifs.upcall: clean up flag handling
authorJeff Layton <jlayton@redhat.com>
Fri, 14 Aug 2009 11:59:50 +0000 (07:59 -0400)
committerJeff Layton <jlayton@redhat.com>
Fri, 14 Aug 2009 11:59:50 +0000 (07:59 -0400)
commitacbf026012af1c87b680b8d80ea9e4123e24b91a
tree7326167071f3703fb086ec68df750d5ed682c840
parentb10bdef4e75ffe48d563b2f0825b82519a71c9a7
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>
client/cifs.upcall.c