[PATCH] ocfs2: le*_add_cpu conversion
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 12 Feb 2008 23:06:18 +0000 (00:06 +0100)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 3 Mar 2008 23:50:21 +0000 (15:50 -0800)
commit0dd3256e04c452396c9d22943e4a18e02f4dbdf4
tree2e4cdc053041d9313ed0dfbac111d28261c238c8
parent1044e401af9a309637828aa3cc8f3b6409fcbf4e
[PATCH] ocfs2: le*_add_cpu conversion

replace all:
little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) +
expression_in_cpu_byteorder);
with:
leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder);
generated with semantic patch

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dir.c
fs/ocfs2/localalloc.c