diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-10-29 14:00:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-30 11:38:45 -0700 |
commit | 51308ee59dee1136ed599d875ea8968d7be55c91 (patch) | |
tree | 8976509c5fbf8171774e7eb7007cf0d4d00f0f83 /drivers/block/loop.c | |
parent | 00c2e63c31d0f431952ff2a671c5c6997dd4f8b2 (diff) | |
download | blackbird-op-linux-51308ee59dee1136ed599d875ea8968d7be55c91.tar.gz blackbird-op-linux-51308ee59dee1136ed599d875ea8968d7be55c91.zip |
freezer_cg: simplify freezer_change_state()
Just call unfreeze_cgroup() if goal_state == THAWED, and call
try_to_freeze_cgroup() if goal_state == FROZEN.
No behavior has been changed.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Cedric Le Goater <clg@fr.ibm.com>
Acked-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/loop.c')
0 files changed, 0 insertions, 0 deletions