summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs/server')
-rw-r--r--xlators/nfs/server/src/nfs3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/nfs/server/src/nfs3.c b/xlators/nfs/server/src/nfs3.c
index c4aaef3c308..0a55e55c9c8 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;