diff options
author | Mohit Agrawal <moagrawal@redhat.com> | 2020-04-06 21:58:03 +0530 |
---|---|---|
committer | MOHIT AGRAWAL <moagrawa@redhat.com> | 2020-04-09 04:26:28 +0000 |
commit | 18f70e806bcef5a3680462a4dbb7061e5eceee1c (patch) | |
tree | ac9efa23820f6bee58aafbc171a85f6bbd6af490 /xlators/debug | |
parent | 9115dd39e953953495d48c6d6f24f44828f8bd5f (diff) |
posix: Avoid dict_del logs in posix_is_layout_stale while key is NULL
Problem: The key "GF_PREOP_PARENT_KEY" has been populated by dht and
for non-distribute volume like 1x3 key is not populated so
posix_is_layout stale throw a message while a file is created
Solution: To avoid a log put a condition before delete a key
Change-Id: I813ee7960633e7f9f5e9ad2f42f288053d9eb71f
Fixes: #1150
Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
Diffstat (limited to 'xlators/debug')
0 files changed, 0 insertions, 0 deletions