summaryrefslogtreecommitdiff
path: root/fs/ocfs2/dlm
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-04-29 22:05:59 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 22:54:27 (GMT)
commit7f4804d4c8b78ca223cee50e22ddaea9903f0930 (patch)
treeb8dfc08b04c876392a5c260fa122d18ef254a6a7 /fs/ocfs2/dlm
parent85a258b70d4891a443583530f48ab734a31e2d8d (diff)
downloadlinux-fsl-qoriq-7f4804d4c8b78ca223cee50e22ddaea9903f0930.tar.xz
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 'fs/ocfs2/dlm')
0 files changed, 0 insertions, 0 deletions