[LTP] fsconfig04: Check FSCONFIG_SET_PATH

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Thu Apr 16 15:52:52 CEST 2026


Hi Wei,

On Thu, 16 Apr 2026, Wei Gao wrote:
> fsconfig04: Check FSCONFIG_SET_PATH

> +#include "old/tso_device.h"

`tst_acquire_loop_device()` is not part of the new API (`tst_device.h`).
Please use `tst_find_free_loopdev()` + `tst_attach_device()` from
`tst_device.h` instead of pulling in a legacy header.

> +static struct tst_test test = {
> +	.test_all = run,
> +	.setup = setup,
> +	.cleanup = cleanup,

The patch has a `Fixes:` link to GitHub issue #1169, making this a
regression test. Add a `.tags` field:

	.tags = (const struct tst_tag[]) {
		{"github", "1169"},
		{}
	},

---
Note:

Our agent completed the review of the patch. The agent can sometimes
produce false positives although often its findings are genuine. If you
find issues with the review, please comment this email or ignore the
suggestions.

Regards,
LTP AI Reviewer


More information about the ltp mailing list