diff options
author | Zorro Lang <zlang@redhat.com> | 2021-07-26 17:46:05 +0800 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-08-01 18:15:48 +0800 |
commit | b030dd07324fbfa417855fbd03e17a063db6de17 (patch) | |
tree | 980db2a599e40c0d6a4333b9b65e565c7f8b2d7a /tests/btrfs/206 | |
parent | e52ceab66d76496a377372e58595a474187bc2bc (diff) |
generic: test small swapfile without page-aligned contiguous blocks
If a swapfile doesn't contain even a single page-aligned contiguous
range of blocks, it's an invalid swapfile, and might cause kernel
issue. This case covered commit 5808fecc5723 ("iomap: Fix negative
assignment to unsigned sis->pages in iomap_swapfile_activate").
Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'tests/btrfs/206')
0 files changed, 0 insertions, 0 deletions