[GFS2] possible null pointer dereference fixup
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 3 Mar 2008 18:54:21 +0000 (21:54 +0300)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:41:28 +0000 (10:41 +0100)
commit182fe5abd8ebbb3a00c1be91f44e4783e139918c
tree7404993656166f2b7cb78e54e4275d44336ba27c
parent105284970ba7d0d0ff4b97e57728eac7adf6a42a
[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>
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/eattr.c
fs/gfs2/inode.c
fs/gfs2/ops_address.c
fs/gfs2/ops_inode.c
fs/gfs2/quota.c