From: Abhijith Das Date: Wed, 18 Jul 2012 15:56:59 +0000 (-0400) Subject: GFS2: kernel panic with small gfs2 filesystems - 1 RG X-Git-Tag: v3.6-rc1~104^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=294f2ad5a545eb71d397623743ddd8201131bdad;p=pandora-kernel.git GFS2: kernel panic with small gfs2 filesystems - 1 RG In the unlikely setup where there's only one resource group in the gfs2 filesystem, gfs2_rgrpd_get_next() returns a NULL rgd that is not dealt with properly, causing a kernel NULL ptr dereference. This patch fixes this issue. Signed-off-by: Abhi Das Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed