summaryrefslogtreecommitdiff
path: root/scripts/checkkconfigsymbols.py
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-02-26 11:19:46 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-27 14:46:23 +0100
commit76cc6d437e1349c34ef08fb428d1e4ef0c912c9d (patch)
tree4c2f73832553e14abba7fe0f5482cbb43746a2e8 /scripts/checkkconfigsymbols.py
parent223b167f01e30201e5de6db87b273ba5a36992a4 (diff)
NFSv4/flexfiles: Fix invalid deref in FF_LAYOUT_DEVID_NODE()
[ Upstream commit 108bb4afd351d65826648a47f11fa3104e250d9b ] If the attempt to instantiate the mirror's layout DS pointer failed, then that pointer may hold a value of type ERR_PTR(), so we need to check that before we dereference it. Fixes: 65990d1afbd2d ("pNFS/flexfiles: Fix a deadlock on LAYOUTGET") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/checkkconfigsymbols.py')
0 files changed, 0 insertions, 0 deletions