]> err.no Git - linux-2.6/commit
reiserfs: le*_add_cpu conversion
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Mon, 28 Apr 2008 09:16:20 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:46 +0000 (08:58 -0700)
commit9e902df6be2cb7444e5a0f7e2e72bcbf3b978f3e
tree18097b73e7dff21688f4c9fee8bc785c63a19766
parent78e917d59c30c3d5a4cda7f47e0f40f1c98f9b02
reiserfs: 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>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/objectid.c
fs/reiserfs/stree.c