diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2020-03-30 11:09:39 +0200 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-04-16 11:15:09 +0000 |
commit | f507c20bd11565c329d103075a15da11dba461d5 (patch) | |
tree | 59cffe0fb63cda55d4e657045d709638d0b8c1ea /tests/bugs/quota | |
parent | 453861088dfabde2c41bec674bed2a6886b4ed37 (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/bugs/quota')
0 files changed, 0 insertions, 0 deletions