diff options
author | Li Zefan <lizefan@huawei.com> | 2014-02-12 21:44:57 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-11 06:42:27 +0100 |
commit | 3ead9578443b66ddb3d50ed4f53af8a0c0298ec5 (patch) | |
tree | c817c8731c17c945bed6db2c0aa4a7359e92f49c /net | |
parent | mtd: ts5500: Add dependency (diff) | |
download | linux-3ead9578443b66ddb3d50ed4f53af8a0c0298ec5.tar.xz linux-3ead9578443b66ddb3d50ed4f53af8a0c0298ec5.zip |
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@huawei.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions