diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-03-03 03:03:12 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-22 21:01:58 (GMT) |
commit | 793c6f9509f87e2918a551e88605d833cacc9546 (patch) | |
tree | da9d08940fa47aa6a124c364da813d2dd4e1a26f /fs/pnode.h | |
parent | 0a7bc8661cf5b00ed5d6db543e820972f813c442 (diff) | |
download | linux-fsl-qoriq-793c6f9509f87e2918a551e88605d833cacc9546.tar.xz |
NFS: Fix a delegation callback race
commit 755a48a7a4eb05b9c8424e3017d947b2961a60e0 upstream.
The clean-up in commit 36281caa839f ended up removing a NULL pointer check
that is needed in order to prevent an Oops in
nfs_async_inode_return_delegation().
Reported-by: "Yan, Zheng" <zheng.z.yan@intel.com>
Link: http://lkml.kernel.org/r/5313E9F6.2020405@intel.com
Fixes: 36281caa839f (NFSv4: Further clean-ups of delegation stateid validation)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions