diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2010-11-02 00:45:27 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-11-02 01:59:02 -0700 |
commit | c4ef206dd37a9e6c547caae5bf10b19d336dde8d (patch) | |
tree | de399e35267b55294504c1bd7421747c7486b01e /xlators/protocol/server | |
parent | 0fe40b1f74a4b070ce2e8928adab52524b86e273 (diff) |
use uuid_copy instead of memcpy
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/protocol/server')
-rw-r--r-- | xlators/protocol/server/src/server3_1-fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server3_1-fops.c b/xlators/protocol/server/src/server3_1-fops.c index eaa2d5c0743..6ba65ec6c51 100644 --- a/xlators/protocol/server/src/server3_1-fops.c +++ b/xlators/protocol/server/src/server3_1-fops.c @@ -129,7 +129,7 @@ server_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if (inode == root_inode) { /* we just looked up root ("/") */ stbuf->ia_ino = 1; - memcpy (stbuf->ia_gfid, rootgfid, 16); + uuid_copy (stbuf->ia_gfid, rootgfid); if (inode->ia_type == 0) inode->ia_type = stbuf->ia_type; } |