commit | 9635453572028134b0f997afca8a6ad9ece2c515 | [log] [tgz] |
---|---|---|
author | Andrey Ryabinin <aryabinin@virtuozzo.com> | Tue Jul 17 19:00:35 2018 +0300 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Thu Jul 26 16:13:12 2018 +0200 |
tree | ff438e94c56cc36a85b93c676ee0a4c3de3cb6ae | |
parent | d6d931adce1193ef54d06fa9bbf58e5780ca516c [diff] |
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>