]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: checking the wrong variable in ocfs2_move_extent()
authorDan Carpenter <error27@gmail.com>
Sun, 29 May 2011 19:56:31 +0000 (22:56 +0300)
committerJoel Becker <jlbec@evilplan.org>
Wed, 1 Jun 2011 02:03:44 +0000 (19:03 -0700)
commit3d75be7c4771c7e4d5b5fa586a599af8473de32c
tree45052c6e7317f1bfe2d0f6961ca5a738deae5766
parent03efed8a2a1b8e00164eb4720a82a7dd5e368a8e
ocfs2: checking the wrong variable in ocfs2_move_extent()

"new_phys_cpos" is always a valid pointer here.
ocfs2_probe_alloc_group() allocates "*new_phys_cpos".

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/move_extents.c