[LTP] [PATCH 1/1] syscalls/fanotify15: TCONF also on EOPNOTSUPP

Petr Vorel pvorel@suse.cz
Thu Sep 10 20:37:00 CEST 2020


Hi Amir,

> > I suppose that EXDEV (in fanotify_test_fid()) is really error which
> > should be caught as TBROK (unlike ENODEV and EOPNOTSUPP). Am I correct?

> No. EXDEV is also an indication of problematic filesystem.
> You will get it if you try to setup the mark on a btrfs subvolume, which is not
> the root volume, because in that case the "fsid" information from event is
> not reliable.

> Probably this is not going to happen in LTP, but still.
Right, I'll add also check for EXDEV and merge with your Reviewed-by tag.
Thanks for your review!

> Good spotting.

> Thanks,
> Amir.

Kind regards,
Petr


More information about the ltp mailing list