lkml.org 
[lkml]   [2009]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: + cgroup-memcg-show-correct-file-mode.patch added to -mm tree

* akpm@linux-foundation.org <akpm@linux-foundation.org> wrote:

> .name = "usage_in_bytes",
> .private = MEMFILE_PRIVATE(_MEM, RES_USAGE),
> .read_u64 = mem_cgroup_read,
> + .mode = 0444

Uhm, we've got symbols for permission bits for a reason.
(S_IRUGO in this case)

> + .mode = 0444

Ditto.

> + .mode = 0200

Ditto. (S_IWUSR)

> + .mode = 0444

Ditto.

Ingo


\
 
 \ /
  Last update: 2009-03-03 09:01    [W:0.041 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site