ocfs2: Fix a bug found by sparse check.
authorTao Ma <tao.ma@oracle.com>
Wed, 11 Mar 2009 22:24:23 +0000 (06:24 +0800)
committerMark Fasheh <mfasheh@suse.com>
Thu, 12 Mar 2009 23:46:01 +0000 (16:46 -0700)
commit74e77eb30d0ecbb12964d005b439c8b84a505b84
tree99e14b596439c1cc04a8559859939e7e47825479
parentd9ae49d6e2b1ac9166e58ae3c9345135604beaa6
ocfs2: Fix a bug found by sparse check.

We need to use le32_to_cpu to test rec->e_cpos in
ocfs2_dinode_insert_check.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/alloc.c