When splicing a 0-length bvec, the block layer may loop iterating and not advancing the bvec, causing lockups or hangs.
Pavel Begunkov (1): splice: don't generate zero-len segement bvecs
fs/splice.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)