]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b9b27a45f039142000279cc52d6a8d6d36547df
tree99e14b596439c1cc04a8559859939e7e47825479
parent0fcb5035692701683505f88c03a2f7088ece570d
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