fs/ocfs2/cluster/tcp.c: fix possible null pointer dereferences
commit8dd7903e48df3779bc424196c22dc73b66d0643e
authorSunil Mushran <sunil.mushran@oracle.com>
Wed, 11 Sep 2013 21:19:49 +0000 (11 14:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:56:34 +0000 (11 15:56 -0700)
treec251a8e5aab3af60b93b5db21569c62aa0ace7a3
parent7e9b79370733945b25c24e09d663b07c3936d10c
fs/ocfs2/cluster/tcp.c: fix possible null pointer dereferences

Fix some possible null pointer dereferences that were detected by the
static code analyser, smatch.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Reported-by: Guozhonghua <guozhonghua@h3c.com>
Cc: Sunil Mushran <sunil.mushran@gmail.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/cluster/tcp.c