aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2024-12-20 04:28:18 +0000
committerChuck Lever <[email protected]>2024-12-20 14:17:12 +0000
commit7917f01a286ce01e9c085e24468421f596ee1a0c (patch)
treef62fe91ae0fd446ab816062a9ef9830c4cfa18aa /drivers/platform/x86/intel/pmt/class.c
parentNFSD: fix management of pending async copies (diff)
downloadkernel-7917f01a286ce01e9c085e24468421f596ee1a0c.tar.gz
kernel-7917f01a286ce01e9c085e24468421f596ee1a0c.zip
nfsd: restore callback functionality for NFSv4.0
A recent patch inadvertently broke callbacks for NFSv4.0. In the 4.0 case we do not expect a session to be found but still need to call setup_callback_client() which will not try to dereference it. This patch moves the check for failure to find a session into the 4.1+ branch of setup_callback_client() Fixes: 1e02c641c3a4 ("NFSD: Prevent NULL dereference in nfsd4_process_cb_update()") Signed-off-by: NeilBrown <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions