public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] syscalls/ioctl_loop01: Add linux git tag
@ 2020-05-08  5:47 Yang Xu
  2020-05-08  7:40 ` Xiao Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Xu @ 2020-05-08  5:47 UTC (permalink / raw)
  To: ltp

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
 testcases/kernel/syscalls/ioctl/ioctl_loop01.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop01.c b/testcases/kernel/syscalls/ioctl/ioctl_loop01.c
index faef22e47..2d9733f95 100644
--- a/testcases/kernel/syscalls/ioctl/ioctl_loop01.c
+++ b/testcases/kernel/syscalls/ioctl/ioctl_loop01.c
@@ -12,6 +12,9 @@
  * For LO_FLAGS_PARTSCAN flag, it is the same as LO_FLAGS_AUTOCLEAR flag.
  * But we also check whether we can scan partition table correctly ie check
  * whether /dev/loopnp1 and /sys/bloclk/loop0/loop0p1 existed.
+ *
+ * It is also a regression test for kernel
+ * commit 10c70d95c0f2 ("block: remove the bd_openers checks in blk_drop_partitions").
  */
 
 #include <stdio.h>
@@ -137,5 +140,9 @@ static struct tst_test test = {
 		"loop",
 		NULL
 	},
+	.tags = (const struct tst_tag[]) {
+		{"linux-git", "10c70d95c0f2"},
+		{}
+	},
 	.needs_tmpdir = 1,
 };
-- 
2.23.0




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [LTP] [PATCH] syscalls/ioctl_loop01: Add linux git tag
  2020-05-08  5:47 [LTP] [PATCH] syscalls/ioctl_loop01: Add linux git tag Yang Xu
@ 2020-05-08  7:40 ` Xiao Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Xiao Yang @ 2020-05-08  7:40 UTC (permalink / raw)
  To: ltp

Hi Xu,

The commit actually fixes the failure of ioctl_loop01 so I will apply it 
shortly.
Acked-by: Xiao Yang <yangx.jy@cn.fujitsu.com>

Thanks,
Xiao Yang
On 2020/5/8 13:47, Yang Xu wrote:
> Signed-off-by: Yang Xu<xuyang2018.jy@cn.fujitsu.com>
> ---
>   testcases/kernel/syscalls/ioctl/ioctl_loop01.c | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/testcases/kernel/syscalls/ioctl/ioctl_loop01.c b/testcases/kernel/syscalls/ioctl/ioctl_loop01.c
> index faef22e47..2d9733f95 100644
> --- a/testcases/kernel/syscalls/ioctl/ioctl_loop01.c
> +++ b/testcases/kernel/syscalls/ioctl/ioctl_loop01.c
> @@ -12,6 +12,9 @@
>    * For LO_FLAGS_PARTSCAN flag, it is the same as LO_FLAGS_AUTOCLEAR flag.
>    * But we also check whether we can scan partition table correctly ie check
>    * whether /dev/loopnp1 and /sys/bloclk/loop0/loop0p1 existed.
> + *
> + * It is also a regression test for kernel
> + * commit 10c70d95c0f2 ("block: remove the bd_openers checks in blk_drop_partitions").
>    */
>
>   #include<stdio.h>
> @@ -137,5 +140,9 @@ static struct tst_test test = {
>   		"loop",
>   		NULL
>   	},
> +	.tags = (const struct tst_tag[]) {
> +		{"linux-git", "10c70d95c0f2"},
> +		{}
> +	},
>   	.needs_tmpdir = 1,
>   };




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-08  7:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-08  5:47 [LTP] [PATCH] syscalls/ioctl_loop01: Add linux git tag Yang Xu
2020-05-08  7:40 ` Xiao Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox