Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fuse: reduce allocation size for splice_write
The 'bufs' array contains 'pipe->buffers' elements, but the fuse_dev_splice_write() uses only 'pipe->nrbufs' elements. So reduce the allocation size to 'pipe->nrbufs' elements. Signed-off-by: Andrey Ryabinin <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
- Loading branch information