diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-03-02 14:53:21 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-02 17:25:46 -0700 |
commit | caf6912f3f4af7232340d500a4a2008f81b93f14 (patch) | |
tree | 64099ad5cba8855452bb5eb518da72a5bac3855a /mm/cma_debug.c | |
parent | f5f4fc4649ae542b1a25670b17aaf3cbb6187acc (diff) | |
download | linux-caf6912f3f4af7232340d500a4a2008f81b93f14.tar.bz2 |
swap: fix swapfile read/write offset
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...
Fixes: 48d15436fde6 ("mm: remove get_swap_bio")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions