]> Git Repo - linux.git/commit - fs/fuse/dev.c
fuse: reduce allocation size for splice_write
authorAndrey Ryabinin <[email protected]>
Tue, 17 Jul 2018 16:00:35 +0000 (19:00 +0300)
committerMiklos Szeredi <[email protected]>
Thu, 26 Jul 2018 14:13:12 +0000 (16:13 +0200)
commit9635453572028134b0f997afca8a6ad9ece2c515
treeff438e94c56cc36a85b93c676ee0a4c3de3cb6ae
parentd6d931adce1193ef54d06fa9bbf58e5780ca516c
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]>
fs/fuse/dev.c
This page took 0.052828 seconds and 4 git commands to generate.