Comment 5 for bug 1775378

Revision history for this message
Alex Hung (alexhung) wrote :

This is fixed by a backported patch of 8edc6e1688f. Kernel and patch file is available @ https://people.canonical.com/~alexhung/LP1775378/

The result is as below:

$ sudo ./fanotify06
tst_device.c:87: INFO: Found free device 0 '/dev/loop0'
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
mke2fs 1.42.9 (4-Feb-2014)
tst_test.c:1118: INFO: Timeout per run is 0h 05m 00s
tst_fs_setup.c:43: INFO: fanotify06.c:239: overlayfs is not configured in this kernel
fanotify06.c:169: INFO: Test #0: Fanotify merge mount mark
fanotify06.c:147: PASS: group 0 got event: mask 2 pid=1626 fd=12
fanotify06.c:147: PASS: group 1 got event: mask 2 pid=1626 fd=12
fanotify06.c:147: PASS: group 2 got event: mask 2 pid=1626 fd=12
fanotify06.c:230: PASS: group 3 got no event
fanotify06.c:230: PASS: group 4 got no event
fanotify06.c:230: PASS: group 5 got no event
fanotify06.c:230: PASS: group 6 got no event
fanotify06.c:230: PASS: group 7 got no event
fanotify06.c:230: PASS: group 8 got no event
fanotify06.c:169: INFO: Test #1: Fanotify merge overlayfs mount mark
fanotify06.c:173: CONF: overlayfs is not configured in this kernel.