summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-gfid-path.h
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-12-10 10:56:55 +0200
committerAmar Tumballi <amarts@gmail.com>2020-01-03 11:35:05 +0000
commit1e56e7acc3ced4f49d4494556bf6c86cd017b4ea (patch)
tree909b4e53b5a3bfb8b387092d0293a565044b6235 /xlators/storage/posix/src/posix-gfid-path.h
parent5cfd4553d163b96c9c409db68264d1b6af2fe49e (diff)
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 <ykaul@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-gfid-path.h')
-rw-r--r--xlators/storage/posix/src/posix-gfid-path.h4
1 files changed, 0 insertions, 4 deletions
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