From: Dan Carpenter Date: Mon, 3 Jan 2011 06:00:20 +0000 (+0300) Subject: ocfs2/cluster: dereferencing before checking in nst_seq_show() X-Git-Tag: v2.6.38-rc1~413^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc548166b2aadba7a566fb0a42884a9d2ff684b0;p=pandora-kernel.git 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 Signed-off-by: Joel Becker --- Reading git-diff-tree failed