diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2014-01-21 22:03:41 -0800 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-01-22 21:04:31 -0800 |
commit | 7bea98fa5845ced670d7bb2d9b1336c03855a798 (patch) | |
tree | 7055b91378c46bae6c3336835dbed00bf960a002 /xlators/storage/posix/src/posix.h | |
parent | e48c5f8a84a1ec27492bcede0a028755a440be45 (diff) |
storage/posix: HANDLE_PFX is redundant use GF_HIDDEN_PATH instead
GF_HIDDEN_PATH usage would help in better readability of the code
and avoids bugs produced from redundant macro constants.
Change-Id: I2fd7e92e87783ba462ae438ced2cf4f720a25f5c
BUG: 990028
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-on: http://review.gluster.org/6756
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.h')
-rw-r--r-- | xlators/storage/posix/src/posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.h b/xlators/storage/posix/src/posix.h index d579bf673db..91e0664ed2d 100644 --- a/xlators/storage/posix/src/posix.h +++ b/xlators/storage/posix/src/posix.h @@ -54,7 +54,7 @@ #define MAX_NO_VECT 1024 #define POSIX_GFID_HANDLE_SIZE(base_path_len) (base_path_len + SLEN("/") \ - + SLEN(HANDLE_PFX) + SLEN("/") \ + + SLEN(GF_HIDDEN_PATH) + SLEN("/") \ + SLEN("00/") \ + SLEN("00/") + SLEN(UUID0_STR) + 1) /* '\0' */; |