diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-01-09 16:02:57 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-25 08:58:24 -0700 |
commit | 0f1d344feb534555a0dcd0beafb7211a37c5355e (patch) | |
tree | 762d8e337b77776ae4f473d788de25f2709594a9 /drivers/regulator | |
parent | 684da7628d93bbdcfba9081b917d99f29ad04c23 (diff) |
splice: don't generate zero-len segement bvecs
iter_file_splice_write() may spawn bvec segments with zero-length. In
preparation for prohibiting them, filter out by hand at splice level.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions