diff options
author | Joakim Tjernlund <joakim.tjernlund@infinera.com> | 2018-03-01 14:39:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-02 07:53:42 -0700 |
commit | fc1584670f289d3cc9e2c17c0d6ba3a24ae5b785 (patch) | |
tree | 37e523b4f0c941d1995ee70033819a049fa7e50d /lib/kobject.c | |
parent | d519eb768c1e17f1494d539eafdc6c4f0ba318b2 (diff) |
mtd: cfi: cmdset_0002: Do not allow read/write to suspend erase block.
commit 7b70eb14392a7cf505f9b358d06c33b5af73d1e7 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.
Taken from cfi_cmdset_0001 driver.
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