[LTP] [PATCH] ioctl08: Fix comment indentation to fit RST format

Andrea Cervesato andrea.cervesato@suse.com
Wed Feb 19 11:41:45 CET 2025


Hi Ma,

I really appreciate your work on converting to RST format. I will merge 
all patches having a bullet point list.
For ordered lists, we can probably use this format, so it will be easier 
to maintain: 
https://sublime-and-sphinx-guide.readthedocs.io/en/latest/lists.html#ordered-lists

Please take a look. I will wait for a feedback :-)

Andrea

On 2/19/25 11:00, Ma Xinjian via ltp wrote:
> Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
> ---
>   testcases/kernel/syscalls/ioctl/ioctl08.c | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/ioctl/ioctl08.c b/testcases/kernel/syscalls/ioctl/ioctl08.c
> index 115ad3323..78602f55a 100644
> --- a/testcases/kernel/syscalls/ioctl/ioctl08.c
> +++ b/testcases/kernel/syscalls/ioctl/ioctl08.c
> @@ -9,13 +9,13 @@
>    * btrfs filesystem.
>    *
>    * 1. Sets the same contents for two files and deduplicates it.
> - *	Deduplicates 3 bytes and set the status to
> - *	FILE_DEDUPE_RANGE_SAME.
> + *    Deduplicates 3 bytes and set the status to
> + *    FILE_DEDUPE_RANGE_SAME.
>    * 2. Sets different content for two files and tries to
> - *	deduplicate it. 0 bytes get deduplicated and status is
> - *	set to FILE_DEDUPE_RANGE_DIFFERS.
> + *    deduplicate it. 0 bytes get deduplicated and status is
> + *    set to FILE_DEDUPE_RANGE_DIFFERS.
>    * 3. Sets same content for two files but sets the length to
> - *	deduplicate to -1. ioctl(FIDEDUPERANGE) fails with EINVAL.
> + *    deduplicate to -1. ioctl(FIDEDUPERANGE) fails with EINVAL.
>    */
>   
>   #include "config.h"


More information about the ltp mailing list