summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-04-29 15:05:59 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 15:54:27 -0700
commit7f4804d4c8b78ca223cee50e22ddaea9903f0930 (patch)
treeb8dfc08b04c876392a5c260fa122d18ef254a6a7 /block
parent85a258b70d4891a443583530f48ab734a31e2d8d (diff)
downloadop-kernel-dev-7f4804d4c8b78ca223cee50e22ddaea9903f0930.zip
op-kernel-dev-7f4804d4c8b78ca223cee50e22ddaea9903f0930.tar.gz
ocfs2: fix NULL dereference for moving extents
We can't dereference "bg" before it has been assigned. GCC should have warned about this but "bg" was initialized to NULL. I've fixed that as well. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jie Liu <jeff.liu@oracle.com> Reviewed-by: Jie Liu <jeff.liu@oracle.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud