]> 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)
commit7f63ef13a69ea9c29a0435ea270ef9ac9269ad74
tree096de4ef7586904818aeb51c6dbfc3db9161fb16
parent6385cbbf79ffeca0b4526bc3e1b32b6ad472e392
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