Skip to content

Commit

Permalink
ioctl_ficlone{,range}: Enable on bcachefs
Browse files Browse the repository at this point in the history
FIOCLONE is supported on bcachefs, thus enable it on all
ioctl_ficlone{,range}*.c but ioctl_ficlone02.c where needs be for the
same reason skipped (ioctl_ficlone02.c verifies only unsupported
filesystems).

Link: https://lore.kernel.org/ltp/ZqeFKkUbhlikEfNS@yuki/
Suggested-by: Cyril Hrubis <[email protected]>
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Jul 29, 2024
1 parent 2370cbb commit b3d9561
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions testcases/kernel/syscalls/ioctl/ioctl_ficlone01.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ static struct tst_test test = {
.mount_device = 1,
.mntpoint = MNTPOINT,
.filesystems = (struct tst_fs []) {
{.type = "bcachefs"},
{.type = "btrfs"},
{
.type = "xfs",
Expand Down
1 change: 1 addition & 0 deletions testcases/kernel/syscalls/ioctl/ioctl_ficlone02.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ static struct tst_test test = {
.mntpoint = MNTPOINT,
.all_filesystems = 1,
.skip_filesystems = (const char *[]) {
"bcachefs",
"btrfs",
"overlayfs",
"nfs",
Expand Down
1 change: 1 addition & 0 deletions testcases/kernel/syscalls/ioctl/ioctl_ficlone03.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ static struct tst_test test = {
.mount_device = 1,
.mntpoint = MNTPOINT,
.filesystems = (struct tst_fs []) {
{.type = "bcachefs"},
{.type = "btrfs"},
{
.type = "xfs",
Expand Down
1 change: 1 addition & 0 deletions testcases/kernel/syscalls/ioctl/ioctl_ficlonerange01.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ static struct tst_test test = {
.mount_device = 1,
.mntpoint = MNTPOINT,
.filesystems = (struct tst_fs []) {
{.type = "bcachefs"},
{.type = "btrfs"},
{
.type = "xfs",
Expand Down
1 change: 1 addition & 0 deletions testcases/kernel/syscalls/ioctl/ioctl_ficlonerange02.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ static struct tst_test test = {
.mount_device = 1,
.mntpoint = MNTPOINT,
.filesystems = (struct tst_fs []) {
{.type = "bcachefs"},
{.type = "btrfs"},
{
.type = "xfs",
Expand Down

0 comments on commit b3d9561

Please sign in to comment.