diff options
author | 2019-03-17 18:01:07 +0800 | |
---|---|---|
committer | 2019-04-01 12:11:30 -0600 | |
commit | 5919482e222908d40279a616b1fe6400549e32b4 (patch) | |
tree | 7d1bc404915ed59a90eb7fb4e7897e46c0f26022 /include/linux/blk_types.h | |
parent | block: cleanup bio_add_pc_page (diff) | |
download | wireguard-linux-5919482e222908d40279a616b1fe6400549e32b4.tar.xz wireguard-linux-5919482e222908d40279a616b1fe6400549e32b4.zip |
block: check if page is mergeable in one helper
Now the check for deciding if one page is mergeable to current bvec
becomes a bit complicated, and we need to reuse the code before
adding pc page.
So move the check in one dedicated helper.
No function change.
Cc: Omar Sandoval <osandov@fb.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk_types.h')
0 files changed, 0 insertions, 0 deletions