From 2745bc6a917b356d55b1cbdff1644a2465fa133d Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Wed, 15 Sep 2010 03:18:57 +0000 Subject: nfs3: Set gfid[15] to 1 for root Signed-off-by: Shehjar Tikoo Signed-off-by: Vijay Bellur BUG: 1600 (showmount works but unable to mount) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1600 --- xlators/nfs/server/src/nfs3-fh.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/nfs/server/src/nfs3-fh.c') diff --git a/xlators/nfs/server/src/nfs3-fh.c b/xlators/nfs/server/src/nfs3-fh.c index 10c00ba3287..043c9691e27 100644 --- a/xlators/nfs/server/src/nfs3-fh.c +++ b/xlators/nfs/server/src/nfs3-fh.c @@ -85,6 +85,7 @@ nfs3_fh_build_uuid_root_fh (uuid_t volumeid) struct nfs3_fh fh = {{0}, }; struct iatt buf = {0, }; + buf.ia_gfid[15] = 1; nfs3_fh_init (&fh, &buf); uuid_copy (fh.exportid, volumeid); -- cgit