Re: [PATCH v2] selftests: ublk: add missing gitignore for metadata_size binary

From: Ming Lei

Date: Sun Jan 25 2026 - 09:26:15 EST


On Sun, Jan 25, 2026 at 08:57:46AM +0000, Alexander Atanasov wrote:
> A new utility metadata_size was added in
> commit 261b67f4e347 ("selftests: ublk: add utility to get block device metadata size")
> but it was not added to .gitignore. Fix that by adding it there.
>
> While at it sort all entries alphabetically and add a SPDX license header.
>
> Reviewed-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx>
> Fixes: 261b67f4e347 ("selftests: ublk: add utility to get block device metadata size")
> Signed-off-by: Alexander Atanasov <alex@xxxxxxxxxxxx>
> ---
> tools/testing/selftests/ublk/.gitignore | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> v1->v2:
> - add SPDX license header
> - sort alphabetically as suggested by Caleb Sander Mateos
>
> It is also Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx> but it needs an Ack from him,
> as he is the original author of the file, for the license header.
>
>
> diff --git a/tools/testing/selftests/ublk/.gitignore b/tools/testing/selftests/ublk/.gitignore
> index 8b2871ea7751..e17bd28f27e0 100644
> --- a/tools/testing/selftests/ublk/.gitignore
> +++ b/tools/testing/selftests/ublk/.gitignore
> @@ -1,3 +1,5 @@
> -kublk
> -/tools
> +# SPDX-License-Identifier: GPL-2.0
> *-verify.state
> +/tools
> +kublk
> +metadata_size

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>


Thanks,
Ming