]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Sun, 27 Feb 2011 15:34:05 +0000 (07:34 -0800)
commit78c87a2a7e3fa5efd1cd9093a3d5f32bcd709d04
treef694e0d8731b480cb80b0cc24c8157801e21c6d8
parent9fe452316ed225a176ea63f41b34a6e15d6ed51a
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().

Reviewed-on: http://gerrit.openafs.org/3897
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 1f1545dfb708b6f70065da58b44676b8eafef772)

Change-Id: Id57dea754bb8f2e45b3128afadb52aeea97c4f13
Reviewed-on: http://gerrit.openafs.org/4084
Tested-by: BuildBot <buildbot@rampaginggeek.com>
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