diff options
author | Bob Peterson <rpeterso@redhat.com> | 2016-04-12 20:14:26 (GMT) |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2016-04-14 13:52:50 (GMT) |
commit | e97321fa095f1ea7110d4d2ba446bd6141ed9a03 (patch) | |
tree | b14e2f6bf0a670f9378b855f68f5d851b364c8c0 /drivers/watchdog/imx2_wdt.c | |
parent | a527b38e1475211b67eb59b3fadb40689f035529 (diff) | |
download | linux-e97321fa095f1ea7110d4d2ba446bd6141ed9a03.tar.xz |
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 'drivers/watchdog/imx2_wdt.c')
0 files changed, 0 insertions, 0 deletions