diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-09-15 04:34:08 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-15 04:55:18 -0700 |
commit | 015a9b1f5a83572445171458312a90dbe0e4aca8 (patch) | |
tree | 5cc9aa0199c7d78a6f2ca3411651cf1ca6866668 | |
parent | 7618628ff3c469af38d9c58840e5d0c8fde7156a (diff) |
nfs3: Copy deviceid from correct gfid start octet
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
-rw-r--r-- | xlators/nfs/server/src/nfs3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/nfs3.c b/xlators/nfs/server/src/nfs3.c index c4aaef3c3..0a55e55c9 100644 --- a/xlators/nfs/server/src/nfs3.c +++ b/xlators/nfs/server/src/nfs3.c @@ -529,7 +529,7 @@ nfs3_request_xlator_deviceid (rpcsvc_request_t *rq) devid = (uint64_t)nfs_xlator_to_xlid (nfs3->exportslist, xl); else { __nfs3_get_volume_id (nfs3, xl, volumeid); - memcpy (&devid, &volumeid[15], sizeof (devid)); + memcpy (&devid, &volumeid[8], sizeof (devid)); } return devid; |