diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2012-04-29 09:51:06 +0200 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-05-01 10:24:26 -0700 |
commit | 3dd38a4a35885adf6ac2e0c6c4e38d36ab862441 (patch) | |
tree | 3807fd14987f20e8765cff1c820387646deeda08 /xlators/features/path-convertor/src | |
parent | d09a5beae2d26803b67ab8f3de6862044a8a758c (diff) |
get rid of ZR_PATH_MAX
As suggested by Amar Tumballi
Change-Id: Id1cd74fd7530e8c846f3be4a88b1fa301a728cf1
BUG: 764655
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.com/3243
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/features/path-convertor/src')
-rw-r--r-- | xlators/features/path-convertor/src/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/path-convertor/src/path.c b/xlators/features/path-convertor/src/path.c index f61630535..f2423092e 100644 --- a/xlators/features/path-convertor/src/path.c +++ b/xlators/features/path-convertor/src/path.c @@ -52,7 +52,7 @@ static char * name_this_to_that (xlator_t *xl, const char *path, const char *name) { path_private_t *priv = xl->private; - char priv_path[ZR_PATH_MAX] = {0,}; + char priv_path[PATH_MAX] = {0,}; char *tmp_name = NULL; int32_t path_len = strlen (path); int32_t name_len = strlen (name) - ZR_FILE_CONTENT_STRLEN; |