]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove bio_clone() and all references.
authorNeilBrown <neilb@suse.com>
Sun, 18 Jun 2017 04:38:59 +0000 (14:38 +1000)
committerJens Axboe <axboe@kernel.dk>
Sun, 18 Jun 2017 18:40:59 +0000 (12:40 -0600)
commit5a65e4dfe55ee0a9d27cdfb1893b72561bff8544
tree13b9e81781e6d44a15dca67215c950ab019f714b
parent4079dc4d4802c3d504d513ab154dd66ac5d6a12e
block: remove bio_clone() and all references.

bio_clone() is no longer used.
Only bio_clone_bioset() or bio_clone_fast().
This is for the best, as bio_clone() used fs_bio_set,
and filesystems are unlikely to want to use bio_clone().

So remove bio_clone() and all references.
This includes a fix to some incorrect documentation.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/block/biodoc.txt
block/bio.c
block/blk-merge.c
drivers/md/md.c
include/linux/bio.h