summaryrefslogtreecommitdiffstats
path: root/utils/mountd/auth.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-01-09 10:44:57 -0700
committerSteve Dickson <steved@redhat.com>2010-01-13 15:39:14 -0500
commite0819debc9d1d322e06ca4047a125a4fd8176d13 (patch)
tree7b7650f9dd5dca9d66485b3555006204ff7e9faf /utils/mountd/auth.c
parent40af0d2957a168bee50337695379313f3f88c635 (diff)
downloadnfs-utils-e0819debc9d1d322e06ca4047a125a4fd8176d13.tar.gz
nfs-utils-e0819debc9d1d322e06ca4047a125a4fd8176d13.tar.xz
nfs-utils-e0819debc9d1d322e06ca4047a125a4fd8176d13.zip
mountd: minor v4root_set cleanup, check strdup return
Move more of v4root_set into a helper function. Also, check the return value from strdup. (We don't really handle the error well yet--we'll end up giving negative replies to export upcalls when we should be giving the kernel exports, resulting in spurious -ENOENTs or -ESTALE's--but that's better than crashing with a NULL dereference.) Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'utils/mountd/auth.c')
0 files changed, 0 insertions, 0 deletions