From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sunil Mushran Date: Mon, 03 Jan 2011 17:54:40 +0000 Subject: Re: [patch -next] ocfs2/cluster: dereferencing before checking in Message-Id: <4D220D60.1040703@oracle.com> List-Id: References: <20110103060020.GW1886@bicker> In-Reply-To: <20110103060020.GW1886@bicker> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ocfs2-devel@oss.oracle.com On 01/02/2011 10:00 PM, Dan Carpenter wrote: > 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 Acked-by: Sunil Mushran