Messages in this thread | | | Date | Tue, 7 Apr 2020 17:39:55 +0200 | From | Jan Kara <> | Subject | Re: [PATCH] ucount: Fix wrong inotify ucounts in /proc/sys/user |
| |
On Tue 07-04-20 16:09:39, Thomas Gleixner wrote: > Jan Kara <jack@suse.cz> writes: > > Commit 769071ac9f20 "ns: Introduce Time Namespace" broke reporting of > > inotify ucounts (max_inotify_instances, max_inotify_watches) in > > /proc/sys/user because it has added UCOUNT_TIME_NAMESPACES into enum > > ucount_type but didn't properly update reporting in > > kernel/ucount.c:setup_userns_sysctls(). Update the reporting to fix the > > issue and also add BUILD_BUG_ON to catch a similar problem in the > > future. > > Just merged that: > > https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=timers/urgent&id=eeec26d5da8248ea4e240b8795bb4364213d3247 > > Could you please send a patch with just the build bug on ?
Sure, will do.
Honza -- Jan Kara <jack@suse.com> SUSE Labs, CR
| |