mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 22:23:55 +00:00
d671fa6393
It is necessary to set fd to -1 when inotify_add_watch() fails in
cg_prepare_for_wait. Otherwise the fd which has been closed in
cg_prepare_for_wait may be misused in other functions such as
cg_enter_and_wait_for_frozen and cg_freeze_wait.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
cgroup_util.c | ||
cgroup_util.h | ||
Makefile | ||
test_core.c | ||
test_freezer.c | ||
test_memcontrol.c | ||
test_stress.sh | ||
with_stress.sh |