]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d6208791d3db7ee2aaee642ba13db1d390b4cf6
tree779ad547dad2161b85c59576d127163892c25228
parent4f18001f5cf33031573e8fa18d41098ae785850a
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