On Wed, 7 Mar 2018 18:20:12 -0800 Randy Dunlap <[email protected]> wrote:
> On 03/07/2018 04:20 PM, [email protected] wrote: > > The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment: > > > > http://www.ozlabs.org/~akpm/mmotm/ > > > > This is a snapshot of my -mm patch queue. Uploaded at random hopefully > > more than once a week. > > UML on i386 and/or x86_64: > > defconfig, CONFIG_MEMCG is not set: > > ../fs/notify/group.c: In function 'fsnotify_final_destroy_group': > ../fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type > css_put(&group->memcg->css); oops. From: Andrew Morton <[email protected]> Subject: fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix fix CONFIG_MEMCG=n build Reported-by: Randy Dunlap <[email protected]> Cc: Amir Goldstein <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: David Rientjes <[email protected]> Cc: Greg Thelen <[email protected]> Cc: Jan Kara <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Shakeel Butt <[email protected]> Cc: Vladimir Davydov <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> --- fs/notify/group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/notify/group.c~fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix +++ a/fs/notify/group.c @@ -38,7 +38,7 @@ static void fsnotify_final_destroy_group group->ops->free_group_priv(group); if (group->memcg) - css_put(&group->memcg->css); + mem_cgroup_put(group->memcg); kfree(group); } _

