OSDN Git Service

block: move three bvec helpers declaration into private helper
authorMing Lei <ming.lei@redhat.com>
Mon, 11 Jan 2021 03:05:56 +0000 (11:05 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 04:24:06 +0000 (21:24 -0700)
commiteec716a1c18c796a69db0be5e2a6f282ba5bccd6
tree096de4ef7586904818aeb51c6dbfc3db9161fb16
parentbaa2c7c97153b8064dbeeb99f2f72de3a75c90a7
block: move three bvec helpers declaration into private helper

bvec_alloc(), bvec_free() and bvec_nr_vecs() are only used inside block
layer core functions, no need to declare them in public header.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk.h
include/linux/bio.h