Changeset 52c50c78 in rtems for cpukit/libfs/src

Timestamp:
02/12/14 20:44:57 (10 years ago)
Author:
Li Zefan <lizefan@…>
Branches:
5, master
Children:
d60c1665
Parents:
e650f4fc
git-author:
Li Zefan <lizefan@…> (02/12/14 20:44:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/16/18 05:22:11)
Message:

jffs2: remove from wait queue after schedule()

@wait is a local variable, so if we don't remove it from the wait queue
list, later wake_up() may end up accessing invalid memory.

This was spotted by eyes.

Signed-off-by: Li Zefan <lizefan@…>
Cc: David Woodhouse <dwmw2@…>
Cc: Artem Bityutskiy <artem.bityutskiy@…>
Cc: <stable@…>
Signed-off-by: Andrew Morton <akpm@…>
Signed-off-by: Brian Norris <computersforpeace@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.