summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2011-04-06 22:33:28 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-04-07 00:25:04 +0400
commit418875900e3de4831c84f86ae4756690dac5be77 (patch)
treed0609f12b62962806adc092867350b7bfcfed5a3 /fs/nfs/nfs4proc.c
parent0867659fa3c245bf203d837a82e0f6ea5079c2c5 (diff)
downloadlinux-418875900e3de4831c84f86ae4756690dac5be77.tar.xz
NFS: Fix a signed vs. unsigned secinfo bug
rpc_authflavor_t is cast from an unsigned int, but the initial code tried to use it as a signed int. I fix this by passing an rpc_authflavor_t pointer around, and returning signed integers from functions. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
0 files changed, 0 insertions, 0 deletions