[Ocfs2-devel] [PATCH v2] ocfs2: Use cpu_to_le16 for e_leaf_clusters in ocfs2_bg_discontig_add_extent.

Joel Becker Joel.Becker at oracle.com
Thu Sep 23 14:23:07 PDT 2010


On Mon, Sep 13, 2010 at 03:13:50PM +0800, Tao Ma wrote:
> 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 at oracle.com>

        This patch is now in the 'fixes' branch of ocfs2.git.

Joel

-- 

"The question of whether computers can think is just like the question
 of whether submarines can swim."
	- Edsger W. Dijkstra

Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list