mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: don't allow realtime swap files
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>
This commit is contained in:
committed by
Eryu Guan
parent
10ad750169
commit
6813e5213d
@@ -416,3 +416,4 @@
|
||||
416 dangerous_fuzzers dangerous_scrub dangerous_repair
|
||||
417 dangerous_fuzzers dangerous_scrub dangerous_online_repair
|
||||
418 dangerous_fuzzers dangerous_scrub dangerous_repair
|
||||
419 auto quick
|
||||
|
||||
Reference in New Issue
Block a user