aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2008-02-09 08:10:15 +0000
committerLinus Torvalds <[email protected]>2008-02-09 19:08:33 +0000
commit60c12b1202a60eabb1c61317e5d2678fcea9893f (patch)
tree143e5bdbd10d32832fce9183500deebad6c6e4db /fs/jbd/commit.c
parentUML: fix hostfs build (diff)
downloadkernel-60c12b1202a60eabb1c61317e5d2678fcea9893f.tar.gz
kernel-60c12b1202a60eabb1c61317e5d2678fcea9893f.zip
memcontrol: add vm_match_cgroup()
mm_cgroup() is exclusively used to test whether an mm's mem_cgroup pointer is pointing to a specific cgroup. Instead of returning the pointer, we can just do the test itself in a new macro: vm_match_cgroup(mm, cgroup) returns non-zero if the mm's mem_cgroup points to cgroup. Otherwise it returns zero. Signed-off-by: David Rientjes <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions