From: Omar Sandoval <osandov@xxxxxx> Changes since v2: - Remove file before formatting in _format_swapfile - Comment on chattr in _format_swapfile - Remove unnecessary label - Fix typo in commit message of patch 3 - Redirect chattr +C output in patch 5 to fix XFS failures Omar Sandoval (5): xfstests: create swap group generic: enable swapfile tests on Btrfs generic: add test for dedupe on an active swapfile generic: add test for truncate/fpunch of an active swapfile generic: test invalid swap file activation .gitignore | 2 ++ common/rc | 17 +++++++-- src/Makefile | 2 +- src/mkswap.c | 83 +++++++++++++++++++++++++++++++++++++++++++ src/swapon.c | 24 +++++++++++++ tests/generic/356 | 7 ++-- tests/generic/357 | 6 ++-- tests/generic/492 | 76 +++++++++++++++++++++++++++++++++++++++ tests/generic/492.out | 7 ++++ tests/generic/493 | 73 +++++++++++++++++++++++++++++++++++++ tests/generic/493.out | 8 +++++ tests/generic/494 | 77 +++++++++++++++++++++++++++++++++++++++ tests/generic/494.out | 5 +++ tests/generic/group | 7 ++-- tests/xfs/group | 2 +- 15 files changed, 383 insertions(+), 13 deletions(-) create mode 100644 src/mkswap.c create mode 100644 src/swapon.c create mode 100755 tests/generic/492 create mode 100644 tests/generic/492.out create mode 100755 tests/generic/493 create mode 100644 tests/generic/493.out create mode 100755 tests/generic/494 create mode 100644 tests/generic/494.out -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html