lkml.org 
[lkml]   [2020]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2020-04-07 17:40    [W:0.043 / U:5.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site