diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2018-03-01 14:39:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-01 12:58:18 -0700 |
commit | 1de1ad0c2c4262a9eafcbede4e662aa503f71f6c (patch) | |
tree | e296dcabe8d3181473628bb3d6c14c078ec842a9 /lib/kobject.c | |
parent | 6c677c5968aaa8122f314aca78c7210bf01cb890 (diff) |
mtd: cfi: cmdset_0001: Do not allow read/write to suspend erase block.
commit 6510bbc88e3258631831ade49033537081950605 upstream.
Currently it is possible to read and/or write to suspend EB's.
Writing /dev/mtdX or /dev/mtdblockX from several processes may
break the flash state machine.
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions