summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/storage/posix/src/posix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 2f9b475abc1..b3bc6be7f31 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -2474,8 +2474,7 @@ posix_getxattr (call_frame_t *frame, xlator_t *this,
}
}
- /* Get the total size */
- dict = get_new_dict ();
+ dict = dict_new ();
if (!dict) {
goto out;
}
@@ -2660,7 +2659,6 @@ done:
if (dict) {
dict_del (dict, GFID_XATTR_KEY);
- dict_ref (dict);
}
out: