[LTP] [PATCH 0/2] ntfs3: Add magic and fix swapfile creation

Brian Mak bmak@nvidia.com
Sat Nov 21 01:36:51 CET 2026


This patch series adds the ntfs3 magic, allowing prints to show the
correct filesystem name. It also fixes swapfile creation on ntfs3, which
fixes the following test cases on ntfs3: swapon01-03 and swapoff01-02.

These tests fail with:
  swapon: swapfile has holes
  tse_swap.c:228: TFAIL: swapon() on unknown failed: EINVAL (22)

Brian Mak (2):
  lib: Add ntfs3 magic
  tse_swap: Fill swapfile with zeroes on ntfs3

 include/tst_fs.h     | 1 +
 lib/tst_fs_type.c    | 2 ++
 libs/swap/tse_swap.c | 8 ++++++--
 3 files changed, 9 insertions(+), 2 deletions(-)


base-commit: 3b962a950b3f37153a45bf1240d07d73ab07676e
-- 
2.53.0



More information about the ltp mailing list