summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorXavi Hernandez <xhernandez@redhat.com>2020-03-30 11:09:39 +0200
committerhari gowtham <hari.gowtham005@gmail.com>2020-04-21 10:18:39 +0000
commit105bb9c58676a47cb61635df792b188d6a4af563 (patch)
tree1b83b7f2949ec8ef5a4e1f7060f9bf72670b0548 /libglusterfs/src
parentb398c6629d8cdb5964531f74fcc938c047c6ef63 (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 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions