aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorWanpeng Li <[email protected]>2012-07-31 16:46:01 -0700
committerLinus Torvalds <[email protected]>2012-07-31 18:42:49 -0700
commitb214514592d2dcb0b9d14ee8dd14f3699e3b0a84 (patch)
tree317258b7f9229e56a26373c81551d24e7b83142f /net/lapb/lapb_in.c
parentc3b94f44fcb0725471ecebb701c077a0ed67bd07 (diff)
memcg: add mem_cgroup_from_css() helper
Add a mem_cgroup_from_css() helper to replace open-coded invokations of container_of(). To clarify the code and to add a little more type safety. [[email protected]: fix extensive breakage] Signed-off-by: Wanpeng Li <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Gavin Shan <[email protected]> Cc: Wanpeng Li <[email protected]> Cc: Gavin Shan <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions