https://github.com/torvalds/linux
Revision 80a6a2cf3bebcf20285cf05373b9c5ec96816577 authored by Li Zefan on 29 October 2008, 21:00:52 UTC, committed by Linus Torvalds on 30 October 2008, 18:38:45 UTC
It is sufficient to check if @task is frozen, and no need to check if the
original freezer is frozen.

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>
1 parent 7ccb974
History
Tip revision: 80a6a2cf3bebcf20285cf05373b9c5ec96816577 authored by Li Zefan on 29 October 2008, 21:00:52 UTC
freezer_cg: remove redundant check in freezer_can_attach()
Tip revision: 80a6a2c
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.0 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 102.0 KB
Makefile -rw-r--r-- 55.5 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top