btrfs-progs/mkfs
Qu Wenruo 27506f8ac8 btrfs-progs: tests: add hardlink related tests for mkfs --subvol
This introduces two new cases:

- 3 hardlinks without any subvolume
  This should results 3 hard links inside the btrfs.

- 3 hardlinks, but a subvolume will split 2 of them
  Then the 2 inside the same subvolume should still report 2 nlinks,
  but the lone one inside the new subvolume can only report 1 nlink.

Signed-off-by: Qu Wenruo <wqu@suse.com>
2024-11-08 17:00:16 +01:00
..
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
common.c btrfs-progs: introduce btrfs_make_subvolume() 2024-07-30 19:54:04 +02:00
common.h btrfs-progs: introduce btrfs_make_subvolume() 2024-07-30 19:54:04 +02:00
main.c btrfs-progs: mkfs: add ro flag to --subvol 2024-11-08 17:00:08 +01:00
rootdir.c btrfs-progs: tests: add hardlink related tests for mkfs --subvol 2024-11-08 17:00:16 +01:00
rootdir.h btrfs-progs: mkfs: add ro flag to --subvol 2024-11-08 17:00:08 +01:00