mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
reflink: avoid reflink on swap files
Since none of the current filesystems support reflinked swap files, make sure that we prohibit reflinking of swapfiles and swapon of reflinked files. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Cc: Christoph Hellwig <hch@lst.de> 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
0199ca71d5
commit
12c5657cfa
@@ -0,0 +1,6 @@
|
||||
QA output created by 356
|
||||
Format and mount
|
||||
Initialize file
|
||||
Try to reflink
|
||||
cp: failed to clone 'SCRATCH_MNT/test-356/file2' from 'SCRATCH_MNT/test-356/file1': Text file busy
|
||||
Tear it down
|
||||
Reference in New Issue
Block a user