summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-inode-write.c
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2015-04-03 14:14:35 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-04-06 20:57:45 -0700
commit0e23ce3fbcf1f138105476cf3b86342268e259d9 (patch)
tree6a32cf28a57b7f17d93cf9dee6feae830b053952 /xlators/cluster/ec/src/ec-inode-write.c
parent85865daa1b7dd11badf9f5192e050e1998c76f8a (diff)
performance/md-cache: set right error check in {f}getxattr_cbk()
Currently mdc_{f}getxattr_cbk() check(s) for a non-zero value to determine if any cache update has to be performed. Right from posix xlator, op_ret has a positive value upon success and -1 upon failure. This patch sets right the check in getxattr callbacks so that xattr cache update happens for successful calls. Change-Id: Ifa5ec38bdf7e3dc095de9a56d91559b13cd9e8b6 BUG: 1208784 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/10127 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-inode-write.c')
0 files changed, 0 insertions, 0 deletions