diff options
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
| -rw-r--r-- | xlators/storage/posix/src/posix.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index b3ed23a45..785d16ec4 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -516,6 +516,9 @@ posix_entry_create_xattr_set (xlator_t *this, const char *path,          data_pair_t *trav = NULL;          int ret = -1; +        if (!dict) +                goto out; +          trav = dict->members_list;          while (trav) {                  if (!strcmp (GFID_XATTR_KEY, trav->key) ||  | 
