dm persistent data: convert to use le32_add_cpu
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 12 Oct 2012 15:59:47 +0000 (16:59 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 12 Oct 2012 15:59:47 +0000 (16:59 +0100)
commit0bcf08798eb9fc3cd0fe2e6b74b25f3f57fa8af2
tree61a17180c1ee5ee32c02137016bbbc4c421466b2
parentfe5fe90639b62a75349dd1f1c74c4a984397171c
dm persistent data: convert to use le32_add_cpu

Convert cpu_to_le32(le32_to_cpu(E1) + E2) to use le32_add_cpu().

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/persistent-data/dm-space-map-common.c