[ACT][PATCH] UBUNTU: SAUCE: ubuntu_ltp_syscalls: skip inotify08 for kernels older than 4.13

AceLan Kao acelan.kao at canonical.com
Fri Sep 20 08:15:35 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1775784

The issue tested by LTP testcase inotify08 has been fixed by commit:
   764baba80168 ("ovl: hash non-dir by lower inode for fsnotify")

>From this upstream commit:
"The issue dates back to initial version of overlayfs, but this
patch depends on ovl_inode code that was introduced in kernel v4.13."

Our Xenial 4.4 kernel doesn't have the ovl_inode code, so blacklist this
testcase for kernels older than 4.13.

Signed-off-by: AceLan Kao <acelan.kao at canonical.com>
---
 ubuntu_ltp_syscalls/testcase-blacklist.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ubuntu_ltp_syscalls/testcase-blacklist.yaml b/ubuntu_ltp_syscalls/testcase-blacklist.yaml
index f84d7db..b4a3d21 100644
--- a/ubuntu_ltp_syscalls/testcase-blacklist.yaml
+++ b/ubuntu_ltp_syscalls/testcase-blacklist.yaml
@@ -18,6 +18,8 @@ kernel:
     4.13.0:
         'inotify07 inotify07':
             comment: 'the fix depends on ovl_inode code that was introduced in kernel v4.13 (LP: #1774387)'
+        'inotify08 inotify08':
+            comment: 'the fix depends on ovl_inode code that was introduced in kernel v4.13 (LP: #1775784)'
     5.2.0:
         'copy_file_range02 copy_file_range02':
             comment: 'copy_file_range02 will not get fixed < 5.2.0 (https://lwn.net/Articles/774114)'
-- 
2.17.1




More information about the kernel-team mailing list