summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorCunlong Li <shenxiaogll@gmail.com>2026-05-28 05:48:45 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-06-09 04:21:27 +0300
commitd1aba985984781947ad67c1b44ac64bd498c8f27 (patch)
tree144ae1f1150dc947463653770b7c74299aa8c596 /include/linux
parent3f08b20eb12f7a05824295d083561cfddfdf76c2 (diff)
downloadlinux-d1aba985984781947ad67c1b44ac64bd498c8f27.tar.xz
zram: drop unused bio parameter from write helpers
After "zram: fix use-after-free in zram_bvec_write_partial()", zram_bvec_write_partial() always passes NULL to zram_read_page() and no longer needs the parent bio. Mirror the read side (zram_bvec_read_partial() has not taken a bio since commit 4e3c87b9421d ("zram: fix synchronous reads")) and drop the parameter from zram_bvec_write_partial() and zram_bvec_write(). No functional change. Link: https://lore.kernel.org/20260528-zram-v3-2-cab86eef8764@gmail.com Signed-off-by: Cunlong Li <shenxiaogll@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Minchan Kim <minchan@kernel.org> Cc: Yisheng Xie <xieyisheng1@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions