summaryrefslogtreecommitdiff
path: root/fs/squashfs/squashfs.h
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@netapp.com>2015-10-05 23:43:26 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-10-07 01:56:25 +0300
commit39d0d3bdf7bab3021a31e501172ac0f18947f9b3 (patch)
tree34bfd328291cecfa188a80e3674de0873aa5ceb1 /fs/squashfs/squashfs.h
parent8dbb09570d16929fefd492410d60a918bc18ad5b (diff)
downloadlinux-39d0d3bdf7bab3021a31e501172ac0f18947f9b3.tar.xz
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 <aglo@umich.edu> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/squashfs/squashfs.h')
0 files changed, 0 insertions, 0 deletions