From e0ded76267f99ecfeb3e27696489df98d75d7209 Mon Sep 17 00:00:00 2001 From: Filipe Manana Date: Mon, 12 Jan 2026 13:44:09 +0000 Subject: [PATCH] fsx: add missing -T option to getopt_long() Currently fsx fails with an invalid argument error when we pass the -T option (do not use dontcache IO) to it because it's not listed in the gepopt_long() call. Fix this and add T to the getopt_long() call. Signed-off-by: Filipe Manana Reviewed-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- ltp/fsx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltp/fsx.c b/ltp/fsx.c index 626976dd..8626662b 100644 --- a/ltp/fsx.c +++ b/ltp/fsx.c @@ -3160,7 +3160,7 @@ main(int argc, char **argv) setvbuf(stdout, (char *)0, _IOLBF, 0); /* line buffered stdout */ while ((ch = getopt_long(argc, argv, - "0ab:c:de:fg:hi:j:kl:m:no:p:qr:s:t:uw:xyABD:EFJKHzCILN:OP:RS:UWXZ", + "0ab:c:de:fg:hi:j:kl:m:no:p:qr:s:t:uw:xyABD:EFJKHzCILN:TOP:RS:UWXZ", longopts, NULL)) != EOF) switch (ch) { case 'a': -- 2.47.3