Commit f26e8a09 authored by Trond Myklebust's avatar Trond Myklebust Committed by popcornmix
Browse files

NFS: Fix a delegation callback race



commit 755a48a7 upstream.

The clean-up in commit 36281caa ended up removing a NULL pointer check
that is needed in order to prevent an Oops in
nfs_async_inode_return_delegation().

Reported-by: default avatar"Yan, Zheng" <zheng.z.yan@intel.com>
Link: http://lkml.kernel.org/r/5313E9F6.2020405@intel.com


Fixes: 36281caa (NFSv4: Further clean-ups of delegation stateid validation)
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 709b45f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment