On Tue 09-01-24 11:23:49, Jens Axboe wrote: > On 1/9/24 11:22 AM, Amir Goldstein wrote: > > The depency of FANOTIFY_ACCESS_PERMISSIONS on SECURITY made sure that > > dependency > > > the fsnotify permission hooks were never called when SECURITY was > > disabled. > > > > Moving the fsnotify permission hook out of the secutiy hook broke that > > security > > > optimisation. > > Patch obviously looks good to me, as I already tested it :-) > > Thanks for fixing this up. Thanks Amir for the fix and Jens for the spelling fixes. I'll fix them on commit. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR