]> err.no Git - linux-2.6/commit
quota: le*_add_cpu conversion
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Wed, 30 Apr 2008 07:54:48 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:51 +0000 (08:29 -0700)
commite3592b12f507d2c12c883d9c18084b72a5710db3
tree560545bee946f7938b9ba608bfb7755df920dda4
parent20c79e785ae3f813310261dde81b29ab0c3e28b4
quota: 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>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/quota_v2.c