summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2018-05-02 20:16:57 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-05-02 21:43:19 +0200
commitd7760d638b140d53c6390a2fbee9b06460b43e9e (patch)
treef269e6fc2b544ad0e181211663f35811f2e4c2a6 /fs/jfs
parentiov_iter: fix return type of __pipe_get_pages() (diff)
downloadlinux-d7760d638b140d53c6390a2fbee9b06460b43e9e.tar.xz
linux-d7760d638b140d53c6390a2fbee9b06460b43e9e.zip
iov_iter: fix memory leak in pipe_get_pages_alloc()
Make n signed to avoid leaking the pages array if __pipe_get_pages() fails to allocate any pages. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions