diff options
| author | Anna Schumaker <[email protected]> | 2015-10-05 20:43:26 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2015-10-06 22:56:25 +0000 |
| commit | 39d0d3bdf7bab3021a31e501172ac0f18947f9b3 (patch) | |
| tree | 34bfd328291cecfa188a80e3674de0873aa5ceb1 /drivers/fpga/fpga-mgr.c | |
| parent | Merge tag 'nfs-rdma-for-4.3-2' of git://git.linux-nfs.org/projects/anna/nfs-rdma (diff) | |
| download | kernel-39d0d3bdf7bab3021a31e501172ac0f18947f9b3.tar.gz kernel-39d0d3bdf7bab3021a31e501172ac0f18947f9b3.zip | |
NFS: Fix a tracepoint NULL-pointer dereference
Running xfstest generic/013 with the tracepoint nfs:nfs4_open_file
enabled produces a NULL-pointer dereference when calculating fileid and
filehandle of the opened file. Fix this by checking if state is NULL
before trying to use the inode pointer.
Reported-by: Olga Kornievskaia <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
