summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2018-11-30 11:58:57 -0500
committerAmar Tumballi <amarts@redhat.com>2018-12-03 05:47:21 +0000
commit0b54c92a22c89fd1d8e03cad2dfb70a5b73ee12a (patch)
tree8c631c2cc9e741f453a075418a835f6fb0b86f8e /xlators/nfs
parent0566ecc878adc5a5aba2c3210485087a9a67da59 (diff)
clang: Fix io-stats.c NULL pointer issue reported by clang
The issue pertains to checking if conf is NULL in BUMP_FOP but not providing that safety in io_stats_release when using conf to lock and bump nr_opens. This is now corrected to check if conf is non-NULL before attempting the lock and bump nr_opens. Tested with local clang analyzer to ensure this fixes the problem. Change-Id: Iffd6a97c2060d0a6930a8dc5914b1956c192cab1 Updates: bz#1622665 Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'xlators/nfs')
0 files changed, 0 insertions, 0 deletions