ocfs2/cluster: dereferencing before checking in nst_seq_show()
authorDan Carpenter <error27@gmail.com>
Mon, 3 Jan 2011 06:00:20 +0000 (09:00 +0300)
committerJoel Becker <joel.becker@oracle.com>
Sat, 8 Jan 2011 02:02:03 +0000 (18:02 -0800)
commitcc548166b2aadba7a566fb0a42884a9d2ff684b0
tree4f9a36e151bcc12670fa7d9e92aafd0d98754f26
parente70d84501b630e390b4242fb4ac629b694c11484
ocfs2/cluster: dereferencing before checking in nst_seq_show()

In the original code, we dereferenced "nst" before checking that it was
non-NULL.  I moved the check forward and pulled the code in an indent
level.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/cluster/netdebug.c