mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
6813e5213d
Linux swapfiles use bmap which has no ability to tell the swap code that the blocks its reporting aren't actually on the data device. Therefore, swapon on a realtime file could corrupt random blocks on the data device, so we must ensure that swapon cannot happen. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <eguan@redhat.com>
6 lines
140 B
Plaintext
6 lines
140 B
Plaintext
QA output created by 419
|
|
Format and mount
|
|
Initialize file
|
|
Try to swapon
|
|
swapon: SCRATCH_MNT/test-419/file1: swapon failed: Invalid argument
|