summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/call-stub.c
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-07-06 05:47:26 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-06 12:37:06 -0700
commit6abd0c49267973f57b8cf98f25e61ec587b2533a (patch)
tree01dd3557c53989e3530af638646e741a38b39b8e /libglusterfs/src/call-stub.c
parenta70f38f15a115cc258f297d6634dab90bc30f4dc (diff)
libglusterfs/call-stub - replace ZR_FILENAME_MAX by NAME_MAX
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfs/src/call-stub.c')
-rw-r--r--libglusterfs/src/call-stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c
index 0fd0b3d5a47..05f58a700b7 100644
--- a/libglusterfs/src/call-stub.c
+++ b/libglusterfs/src/call-stub.c
@@ -2073,10 +2073,10 @@ fop_checksum_cbk_stub (call_frame_t *frame,
if (op_ret >= 0)
{
stub->args.checksum_cbk.file_checksum =
- memdup (file_checksum, ZR_FILENAME_MAX);
+ memdup (file_checksum, NAME_MAX);
stub->args.checksum_cbk.dir_checksum =
- memdup (dir_checksum, ZR_FILENAME_MAX);
+ memdup (dir_checksum, NAME_MAX);
}
out:
return stub;