diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-09-15 03:18:57 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-15 02:18:07 -0700 |
commit | 2745bc6a917b356d55b1cbdff1644a2465fa133d (patch) | |
tree | b7498267469a48f2bd28f6f7aa55474626788801 /xlators | |
parent | 560842297b9a067f358d3c3969eb3bdbb6132036 (diff) |
nfs3: Set gfid[15] to 1 for root
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1600 (showmount works but unable to mount)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1600
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/nfs/server/src/nfs3-fh.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |