diff options
author | Mohit Agrawal <moagrawa@redhat.com> | 2020-09-03 19:21:16 +0530 |
---|---|---|
committer | MOHIT AGRAWAL <moagrawa@redhat.com> | 2020-09-04 07:23:09 +0000 |
commit | c7154b84118b4b2ff25083d9be48aeee25a0294b (patch) | |
tree | 9a84f27dc7625abafc4a3850a2c367732d7a6fd6 /xlators/mgmt/glusterd/src/glusterd-replace-brick.c | |
parent | 5797021ae85b43c4ea1fe2738af728c290b23a39 (diff) |
core: Avoid dict OR key is NULL message in brick logs
Problem: At the time of mount a volume server_first_lookup
call's syncop_lookup with a NULL xattr so index_lookup
is throwing a message at the time of fetching "link-count"
from a dictionary
Solution: Call dict_get_str_sizen instead of calling dict_get_str
to avoid a warning message
Fixes: #1464
Change-Id: I2b1ee3123ab817fa09f3abe39998c0d66ac0b824
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-replace-brick.c')
0 files changed, 0 insertions, 0 deletions