diff mbox series

tst_fs_type_name(): Add VFAT support

Message ID 20220921155017.13394-1-mdoucha@suse.cz
State Accepted
Headers show
Series tst_fs_type_name(): Add VFAT support | expand

Commit Message

Martin Doucha Sept. 21, 2022, 3:50 p.m. UTC
Signed-off-by: Martin Doucha <mdoucha@suse.cz>
---
 lib/tst_fs_type.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Li Wang Sept. 22, 2022, 3:55 a.m. UTC | #1
On Wed, Sep 21, 2022 at 11:50 PM Martin Doucha <mdoucha@suse.cz> wrote:

> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
>

Reviewed-by: Li Wang <liwang@redhat.com>


> ---
>  lib/tst_fs_type.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/lib/tst_fs_type.c b/lib/tst_fs_type.c
> index 78944efcf..d9c9c0817 100644
> --- a/lib/tst_fs_type.c
> +++ b/lib/tst_fs_type.c
> @@ -68,6 +68,8 @@ const char *tst_fs_type_name(long f_type)
>                 return "overlayfs";
>         case TST_FUSE_MAGIC:
>                 return "fuse";
> +       case TST_VFAT_MAGIC:
> +               return "vfat";
>         case TST_EXFAT_MAGIC:
>                 return "exfat";
>         default:
> --
> 2.37.3
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>
Petr Vorel Sept. 22, 2022, 7:12 a.m. UTC | #2
Hi Martin, Li,

thanks, merged!

Kind regards,
Petr
diff mbox series

Patch

diff --git a/lib/tst_fs_type.c b/lib/tst_fs_type.c
index 78944efcf..d9c9c0817 100644
--- a/lib/tst_fs_type.c
+++ b/lib/tst_fs_type.c
@@ -68,6 +68,8 @@  const char *tst_fs_type_name(long f_type)
 		return "overlayfs";
 	case TST_FUSE_MAGIC:
 		return "fuse";
+	case TST_VFAT_MAGIC:
+		return "vfat";
 	case TST_EXFAT_MAGIC:
 		return "exfat";
 	default: