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>
1 file changed