libuafs: Allow -mountdir to override uafs_Setup
authorAndrew Deason <adeason@sinenomine.net>
Fri, 28 Jan 2011 17:11:20 +0000 (11:11 -0600)
committerDerrick Brashear <shadow@dementia.org>
Wed, 16 Feb 2011 16:57:43 +0000 (08:57 -0800)
commit1f1545dfb708b6f70065da58b44676b8eafef772
treed6489aa0e535652b8f4953cb9508af7f3b2b0d70
parent9315c66f15fb0d178e1c322cf14c0d64eea46c65
libuafs: Allow -mountdir to override uafs_Setup

For some reason, uafs_Setup accepts a parameter specifying the AFS mount
point, and we effectively ignore any -mountdir option specified in the
string arguments. Allow -mountdir to override the mount point specified
in uafs_Setup, by changing afs_mountDir &co during afsd_mount_afs().

Change-Id: I4ea88923c0a8392d280c1a8f0ca4d3adf741f7f6
Reviewed-on: http://gerrit.openafs.org/3897
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/UKERNEL/afs_usrops.c
src/afs/UKERNEL/afs_usrops.h
src/afs/UKERNEL/afsd_uafs.c