summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndrey Ryabinin <aryabinin@virtuozzo.com>2018-07-17 18:00:35 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2018-07-26 16:13:12 +0200
commit9635453572028134b0f997afca8a6ad9ece2c515 (patch)
treeff438e94c56cc36a85b93c676ee0a4c3de3cb6ae /scripts
parentfuse: use kvmalloc to allocate array of pipe_buffer structs. (diff)
downloadlinux-9635453572028134b0f997afca8a6ad9ece2c515.tar.xz
linux-9635453572028134b0f997afca8a6ad9ece2c515.zip
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 <aryabinin@virtuozzo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions