From 1e56e7acc3ced4f49d4494556bf6c86cd017b4ea Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Tue, 10 Dec 2019 10:56:55 +0200 Subject: posix: improve posix_{set_gfid2path_xattr|remove_gfid2path_xattr} funcs 1. Move them to posix-entry-ops.c and make them static. 2. Remove useless 'val' parameter allocation and snprintf() in posix_set_gfid2path_xattr(), as it was identical to pgfid_bname. Change-Id: I41f3946c6c42aee9d7cf1150e21b442438fbcce2 updates: bz#1193929 Signed-off-by: Yaniv Kaul --- xlators/storage/posix/src/posix-gfid-path.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xlators/storage/posix/src/posix-gfid-path.h') diff --git a/xlators/storage/posix/src/posix-gfid-path.h b/xlators/storage/posix/src/posix-gfid-path.h index 63b2a8c61fa..79096e5893f 100644 --- a/xlators/storage/posix/src/posix-gfid-path.h +++ b/xlators/storage/posix/src/posix-gfid-path.h @@ -20,10 +20,6 @@ #include "uuid.h" // for uuid_t #define MAX_GFID2PATH_LINK_SUP 500 -int32_t -posix_set_gfid2path_xattr(xlator_t *, const char *, uuid_t, const char *); -int32_t -posix_remove_gfid2path_xattr(xlator_t *, const char *, uuid_t, const char *); gf_boolean_t posix_is_gfid2path_xattr(const char *name); int32_t -- cgit