summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/storage/posix/src/posix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index d727f930552..efb5f03bef1 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -4271,7 +4271,7 @@ posix_fgetxattr (call_frame_t *frame, xlator_t *this,
_fd = pfd->fd;
/* Get the total size */
- dict = get_new_dict ();
+ dict = dict_new ();
if (!dict) {
op_ret = -1;
op_errno = ENOMEM;
@@ -4455,7 +4455,6 @@ done:
if (dict) {
dict_del (dict, GFID_XATTR_KEY);
dict_del (dict, GF_XATTR_VOL_ID_KEY);
- dict_ref (dict);
}
out: