]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Fix an unchecked error from gfs2_rs_alloc
authorAndrew Price <anprice@redhat.com>
Fri, 12 Oct 2012 15:45:08 +0000 (16:45 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 15 Oct 2012 10:00:24 +0000 (11:00 +0100)
commit4b22b5cf499bf5aab2ec9553be0e1443667150a7
tree39afcfe1c540b2ae8830e267b3101b56366b2a19
parenta0d15d8c2cce46fa39972d399e55086dcf175f2f
GFS2: Fix an unchecked error from gfs2_rs_alloc

Check the return value of gfs2_rs_alloc(ip) and avoid a possible null
pointer dereference.

Signed-off-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/quota.c