From 18b24156f1dc0f727260724023eed583b460218b Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 17 Feb 2011 15:15:06 -0600 Subject: [PATCH] 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 --- src/afsd/afsd_fuse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/afsd/afsd_fuse.c b/src/afsd/afsd_fuse.c index 4e6cc5c..1bf5e86 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; } -- 1.9.4