[LTP] [PATCH 3/3] inotify06: kernel version check

Cyril Hrubis chrubis@suse.cz
Wed Nov 2 15:48:35 CET 2016


Hi!
> For test inotify06, kernels prior to 4.2 have a race when inode
> is being deleted while inotify group watching that inode is being
> torn down. When the race is hit, the kernel crashes or loops. So,
> added a check to see if the kernel is >= 4.2.0, and if not, the
> test breaks with TCONF and an appropriate message.

NO.

Bringing down broken kernel is exactly the whole point of the test.
Otherwise you cannot tell if the fix was backported to your kernel or
not.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list