Page MenuHomeFreeBSD

filt_fsevent: only record interested events
ClosedPublic

Authored by rew on Feb 27 2021, 7:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 8:49 PM
Unknown Object (File)
Tue, Nov 19, 8:30 PM
Unknown Object (File)
Tue, Nov 19, 6:20 PM
Unknown Object (File)
Wed, Nov 13, 4:06 AM
Unknown Object (File)
Wed, Nov 6, 8:19 AM
Unknown Object (File)
Mon, Nov 4, 1:58 AM
Unknown Object (File)
Mon, Nov 4, 1:58 AM
Unknown Object (File)
Mon, Nov 4, 1:58 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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

6020

But then shouldn't this be

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

?

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

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.