ocfs2: Use cpu_to_le16 for e_leaf_clusters in ocfs2_bg_discontig_add_extent.
authorTao Ma <tao.ma@oracle.com>
Mon, 13 Sep 2010 07:13:50 +0000 (15:13 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 23 Sep 2010 21:16:34 +0000 (14:16 -0700)
commit47dea423799d98c53793237ab386a94976f305d5
tree779ad547dad2161b85c59576d127163892c25228
parent12828061cdacfb1db3eb03fd71952d5ebc555bbb
ocfs2: Use cpu_to_le16 for e_leaf_clusters in ocfs2_bg_discontig_add_extent.

e_leaf_clusters is a le16, so use cpu_to_le16 instead
of cpu_to_le32.

What's more, we change 'clusters' to unsigned int to
signify that the size of 'clusters' isn't important here.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/suballoc.c