ceph: convert to use le32_add_cpu()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 28 Sep 2012 04:59:16 +0000 (12:59 +0800)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:54 +0000 (14:30 -0500)
commitb905a7f8b7a61c192927d0324f2ea6c998f451ba
tree6a3345523a8c96dc150987fa5c3826339d37c9e2
parent3e8f43a089f06279c5f76a9ccd42578eebf7bfa5
ceph: 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: Sage Weil <sage@inktank.com>
fs/ceph/caps.c