diff options
author | Bob Peterson <rpeterso@redhat.com> | 2016-04-12 16:14:26 -0400 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2016-04-14 09:52:50 -0400 |
commit | e97321fa095f1ea7110d4d2ba446bd6141ed9a03 (patch) | |
tree | b14e2f6bf0a670f9378b855f68f5d851b364c8c0 /fs/gfs2/file.c | |
parent | a527b38e1475211b67eb59b3fadb40689f035529 (diff) |
GFS2: Don't dereference inode in gfs2_inode_lookup until it's valid
Function gfs2_inode_lookup was dereferencing the inode, and after,
it checks for the value being NULL. We need to check that first.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/file.c')
0 files changed, 0 insertions, 0 deletions