commit | b620743077e291ae7d0debd21f50413a8c266229 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jun 26 15:49:28 2019 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Jun 29 09:47:32 2019 -0600 |
tree | 965cefe7b283e821cc9f288e9ded8ba0778f6a60 | |
parent | d7c8aa85ed204ccebf0c18f29b941d52b33deae3 [diff] |
block: never take page references for ITER_BVEC If we pass pages through an iov_iter we always already have a reference in the caller. Thus remove the ITER_BVEC_FLAG_NO_REF and don't take reference to pages by default for bvec backed iov_iters. Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>