Page MenuHomeFreeBSD

filt_fsevent: only record interested events
ClosedPublic

Authored by rew on Feb 27 2021, 7:47 PM.

Details

Summary

Previously, all EVFILT_FS events that were triggered, were also
activated.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rew requested review of this revision.Feb 27 2021, 7:47 PM
sys/kern/vfs_subr.c
6019

But then shouldn't this be

kn->kn_fflags |= kn->kn_sfflags & hint;

?

6019–6020

Stylish (kn->kn_sfflags & hint) != 0

rew marked an inline comment as done.Feb 28 2021, 9:14 AM
rew added inline comments.
sys/kern/vfs_subr.c
6019

now that you mention it, that does read better..

This revision is now accepted and ready to land.Feb 28 2021, 5:25 PM
This revision was automatically updated to reflect the committed changes.
rew marked an inline comment as done.