<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0">Sorry, I just found out that my mail forwarding stopped working so I didn't see that there's already a patch for that.</p>
<p style="margin-top:0; margin-bottom:0">Please Ignore this, thanks!</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Regards,</p>
<p style="margin-top:0; margin-bottom:0">Christian</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Christian Amann<br>
<b>Sent:</b> Tuesday, July 9, 2019 9:32:28 AM<br>
<b>To:</b> ltp@lists.linux.it<br>
<b>Cc:</b> amir73il@gmail.com; Christian Amann<br>
<b>Subject:</b> [PATCH v1] syscalls/ioctl08: Add check for btrfs</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">This test used to fail on systems with missing btrfs support. Now it<br>
ends with TCONF.<br>
<br>
Reported-by: Amir Goldstein <amir73il@gmail.com><br>
Signed-off-by: Christian Amann <camann@suse.com><br>
---<br>
 testcases/kernel/syscalls/ioctl/ioctl08.c | 6 ++++++<br>
 1 file changed, 6 insertions(+)<br>
<br>
diff --git a/testcases/kernel/syscalls/ioctl/ioctl08.c b/testcases/kernel/syscalls/ioctl/ioctl08.c<br>
index 8de80048c..c39423b8b 100644<br>
--- a/testcases/kernel/syscalls/ioctl/ioctl08.c<br>
+++ b/testcases/kernel/syscalls/ioctl/ioctl08.c<br>
@@ -112,9 +112,15 @@ static void setup(void)<br>
                         sizeof(struct file_dedupe_range_info));<br>
 }<br>
 <br>
+static const char *kconfigs[] = {<br>
+       "CONFIG_BTRFS_FS",<br>
+       NULL<br>
+};<br>
+<br>
 static struct tst_test test = {<br>
         .test = verify_ioctl,<br>
         .tcnt = ARRAY_SIZE(tcases),<br>
+       .needs_kconfigs = kconfigs,<br>
         .setup = setup,<br>
         .cleanup = cleanup,<br>
         .min_kver = "4.5",<br>
-- <br>
2.16.4<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>