From: Andrew Deason Date: Thu, 17 Feb 2011 21:15:06 +0000 (-0600) Subject: afsd.fuse: Force internal mount dir to /afs X-Git-Tag: upstream/1.8.0_pre1^2~4174 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=18b24156f1dc0f727260724023eed583b460218b;p=packages%2Fo%2Fopenafs.git afsd.fuse: Force internal mount dir to /afs Commit 1f1545dfb708b6f70065da58b44676b8eafef772 made it so the argument given to -mountdir sets the internal mount directory. However, afsd.fuse assumes that the mount dir is always /afs internally. So, use the uafs_setMountDir function to reset the internal mount dir to "/afs", so afsd.fuse can work with non-/afs mountpoints. Change-Id: I985f1a25d04af4027c7adef69231e2f56e026d24 Reviewed-on: http://gerrit.openafs.org/3979 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afsd/afsd_fuse.c b/src/afsd/afsd_fuse.c index 4e6cc5c12..1bf5e86e8 100644 --- a/src/afsd/afsd_fuse.c +++ b/src/afsd/afsd_fuse.c @@ -91,6 +91,9 @@ static void * fuafsd_init(struct fuse_conn_info *conn) { uafs_Run(); + + uafs_setMountDir("/afs"); + return NULL; }