From: Kent Overstreet Date: Thu, 6 Sep 2012 22:35:02 +0000 (-0700) Subject: block: Add bio_clone_bioset(), bio_clone_kmalloc() X-Git-Tag: v3.7-rc1~54^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf800ef1816b4283a885e55ad38068aec9711e4d;p=pandora-kernel.git block: Add bio_clone_bioset(), bio_clone_kmalloc() Previously, there was bio_clone() but it only allocated from the fs bio set; as a result various users were open coding it and using __bio_clone(). This changes bio_clone() to become bio_clone_bioset(), and then we add bio_clone() and bio_clone_kmalloc() as wrappers around it, making use of the functionality the last patch adedd. This will also help in a later patch changing how bio cloning works. Signed-off-by: Kent Overstreet CC: Jens Axboe CC: NeilBrown CC: Alasdair Kergon CC: Boaz Harrosh CC: Jeff Garzik Acked-by: Jeff Garzik Signed-off-by: Jens Axboe --- Reading git-diff-tree failed