aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKOSAKI Motohiro <[email protected]>2009-01-07 18:08:18 -0800
committerLinus Torvalds <[email protected]>2009-01-08 08:31:07 -0800
commit549927620b04a8f8073ce2ee2a8977f209af2ee5 (patch)
tree6451507892fb353732fe959b2bf0a171fa3ac20b /include/linux
parenteeee9a8cd1e93c8b94e7788790fa9e2f8910c779 (diff)
memcg: add null check to page_cgroup_zoneinfo()
If CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y, page_cgroup::mem_cgroup can be NULL. Therefore null checking is better. A later patch uses this function. Acked-by: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Rik van Riel <[email protected]> Signed-off-by: KOSAKI Motohiro <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Daisuke Nishimura <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions