summaryrefslogtreecommitdiff
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-03-02 14:53:21 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-07 11:24:22 +0100
commit1a4d8b31b63428eb8193bce40ac40106cefabcbf (patch)
tree9f2725223be47d28b7904928ba2e4db74c51d081 /drivers/usb/class/cdc-acm.c
parent5cc4e064df23b5d7d75d37b964d137aa8523faed (diff)
swap: fix swapfile read/write offset
commit caf6912f3f4af7232340d500a4a2008f81b93f14 upstream. We're not factoring in the start of the file for where to write and read the swapfile, which leads to very unfortunate side effects of writing where we should not be... [This issue only affects swapfiles on filesystems on top of blockdevs that implement rw_page ops (brd, zram, btt, pmem), and not on top of any other block devices, in contrast to the upstream commit fix.] Fixes: dd6bd0d9c7db ("swap: use bdev_read_page() / bdev_write_page()") Cc: stable@vger.kernel.org # 4.4 Signed-off-by: Anthony Iliopoulos <ailiop@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions