Skip to contentSkip to conversation

syscalls/ioctl_loop01: Add linux git tag

PATCH New Yang Xu 2 participants 2 messages May 8, 2020

lore
Share & tools
lore

Yang Xu

author
#0 lore raw

PATCH 1/1 syscalls/ioctl_loop01: Add linux git tag

---
 testcases/kernel/syscalls/ioctl/ioctl_loop01.c | 7 +++++++
 1 file changed, 7 insertions(+)
testcases/kernel/syscalls/ioctl/ioctl_loop01.c +7 -0
index faef22e47..2d9733f95 100644
@@ -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,
 };
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 syscalls/ioctl_loop01: Add linux git tag

Hi Xu,

The commit actually fixes the failure of ioctl_loop01 so I will apply it shortly.

Thanks,
Xiao Yang

Quoted 29 lines · Yang Xu
---
  testcases/kernel/syscalls/ioctl/ioctl_loop01.c | 7 +++++++
  1 file changed, 7 insertions(+)
testcases/kernel/syscalls/ioctl/ioctl_loop01.c +7 -0
index faef22e47..2d9733f95 100644
@@ -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,
  };