[GFS2] possible null pointer dereference fixup

gfs2_alloc_get may fail so we have to check it to prevent
NULL pointer dereference.

Signed-off-by: Cyrill Gorcunov <gorcunov@gamil.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
Cyrill Gorcunov 2008-03-03 21:54:21 +03:00 • committed by Steven Whitehouse
commit 182fe5abd8
7 changed files with 44 additions and 8 deletions