diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2020-03-30 11:09:39 +0200 |
---|---|---|
committer | Rinku Kothiya <rkothiya@redhat.com> | 2020-05-09 12:06:14 +0000 |
commit | 75154550c5a3acda1a93b8304f0e393709a88530 (patch) | |
tree | 6fac0b52107d2633348f0b9c439b8b14f4ecc580 /tests | |
parent | d48de09adaffdf6b75f30d78f8a1cd287e6fa8ae (diff) |
md-cache: avoid clearing cache when not necessary
mdc_inode_xatt_set() blindly cleared current cache when dict was not
NULL, even if there was no xattr requested.
This patch fixes this by only calling mdc_inode_xatt_set() when we have
explicitly requested something to cache.
Change-Id: Idc91a4693f1ff39f7059acde26682ccc361b947d
Fixes: #1140
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions