diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-03-03 03:03:12 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-03-03 03:03:12 (GMT) |
commit | 755a48a7a4eb05b9c8424e3017d947b2961a60e0 (patch) | |
tree | 357da4eb493a7cf80df34af3bcceaab442614756 /fs/sync.c | |
parent | b7e63a1079b266866a732cf699d8c4d61391bbda (diff) | |
download | linux-755a48a7a4eb05b9c8424e3017d947b2961a60e0.tar.xz |
NFS: Fix a delegation callback race
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)
Cc: stable@vger.kernel.org # 3.4+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions