diff options
author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | 2016-04-29 00:13:58 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2016-05-24 16:15:26 +0300 |
commit | 525bab71feb152bccb65054cc2bca1537e3bd2b5 (patch) | |
tree | 877c83716fd81179bac97376dbede1a368cb51d8 /lib/mpi/mpi-bit.c | |
parent | 04974df8049fc4240d22759a91e035082ccd18b4 (diff) | |
download | linux-525bab71feb152bccb65054cc2bca1537e3bd2b5.tar.xz |
UBI: Add ro-mode sysfs attribute
On serious situations, UBI may detect serious device corruption,
and switch to read-only mode to protect the data and allow debugging.
This commit exposes this ro-mode on sysfs, so it can be obtained
by userspace tools.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions