diff options
author | NeilBrown <neilb@suse.de> | 2007-05-09 02:35:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 12:30:57 -0700 |
commit | 4d167f09375bd6c18447d3fcc18baaf3acd15fbc (patch) | |
tree | 4132b4061678bf6124c3045035c023e83aebe825 /drivers/md/dm-linear.c | |
parent | e11e93facc38fb264a5ff1e154ebb2f11dc5cffa (diff) | |
download | talos-op-linux-4d167f09375bd6c18447d3fcc18baaf3acd15fbc.tar.gz talos-op-linux-4d167f09375bd6c18447d3fcc18baaf3acd15fbc.zip |
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 <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions