]> err.no Git - linux-2.6/commit
ext2: le*_add_cpu conversion
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Mon, 28 Apr 2008 09:15:59 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:43 +0000 (08:58 -0700)
commitfba4d3997f4c3dc6de927f7f516168580033ae1a
tree296923be4f914ebd4500cba94fad091bf01c15c8
parent1e3832b0b1518232f47d89bc9d1f68e151a749ff
ext2: 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext2/ialloc.c
fs/ext2/super.c
fs/ext2/xattr.c