[GFS2] fs/gfs2/ops_fstype.c:fill_super_meta(): fix NULL dereference
authorAdrian Bunk <bunk@stusta.de>
Thu, 19 Oct 2006 13:27:00 +0000 (15:27 +0200)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 20 Oct 2006 13:15:57 +0000 (09:15 -0400)
commitbbbe4512735eb0f15f09ffd14876091a8e91bc69
tree2acdac2f4030c4d58fe6166d07bc96f68a5cd136
parent348acd48f050f5ba7fa917b1421ae34443be97dd
[GFS2] fs/gfs2/ops_fstype.c:fill_super_meta(): fix NULL dereference

Don't dereference new->s_root when we do know it's NULL.

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_fstype.c