From: NeilBrown Date: Wed, 9 May 2007 09:35:37 +0000 (-0700) Subject: md: stop using csum_partial for checksum calculation in md X-Git-Tag: v2.6.22-rc1~155 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d167f09375bd6c18447d3fcc18baaf3acd15fbc;p=pandora-kernel.git md: stop using csum_partial for checksum calculation in md If CONFIG_NET is not selected, csum_partial is not exported, so md.ko cannot use it. We shouldn't really be using csum_partial anyway as it is an internal-to-networking interface. So replace it with C code to do the same thing. Speed is not crucial here, so something simple and correct is best. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed