]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12674343ac2b2102e3eb15dfd9eef116b6d9ec73
tree096de4ef7586904818aeb51c6dbfc3db9161fb16
parentdc7cd8e6ecf0f44b2e643de220bcf803ff95d200
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