diff options
author | N Balachandran <nbalacha@redhat.com> | 2018-07-18 22:09:19 +0530 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2018-07-18 22:23:07 +0530 |
commit | 730542a5d8c3d9be2202d3c26e9ff5c9404e3fe2 (patch) | |
tree | ffc15af934d9752005c864a5f080f44c83552dca /xlators/storage/posix | |
parent | ec0d7d77de3e4bd485a4fa2e53c9137e25c71ce7 (diff) |
cluster/dht: Set loc->gfid before healing attr
AFR takes inodelks when setting attrs. The loc->gfid
and loc->inode->gfid were both null when dht_dir_attr_heal
was called during a fresh lookup of an existing directory.
As the gfid is null, client_pre_inodelk asserts in the gfid
check.
We now set the loc->gfid before calling dht_dir_attr_heal.
Change-Id: I457f5a73fd301d97a03ca032587e73d4803298ac
fixes: bz#1602866
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/storage/posix')
0 files changed, 0 insertions, 0 deletions