From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Yang Date: Fri, 8 May 2020 15:40:11 +0800 Subject: [LTP] [PATCH] syscalls/ioctl_loop01: Add linux git tag In-Reply-To: <1588916828-4228-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> References: <1588916828-4228-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> Message-ID: <5EB50CDB.5060909@cn.fujitsu.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Xu, The commit actually fixes the failure of ioctl_loop01 so I will apply it shortly. Acked-by: Xiao Yang Thanks, Xiao Yang On 2020/5/8 13:47, Yang Xu wrote: > Signed-off-by: Yang Xu > --- > 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 > @@ -137,5 +140,9 @@ static struct tst_test test = { > "loop", > NULL > }, > + .tags = (const struct tst_tag[]) { > + {"linux-git", "10c70d95c0f2"}, > + {} > + }, > .needs_tmpdir = 1, > };