diff options
author | 2011-03-18 18:11:42 +0200 | |
---|---|---|
committer | 2011-04-05 11:08:58 +0300 | |
commit | 3efe509070e3d27e6d5dbc4bf8588e9453e9b949 (patch) | |
tree | d383315c70461be6e6366c6e8142db95e113a12b /tools/perf/scripts/python/syscall-counts.py | |
parent | UBIFS: fix debugging failure in dbg_check_space_info (diff) | |
download | wireguard-linux-3efe509070e3d27e6d5dbc4bf8588e9453e9b949.tar.xz wireguard-linux-3efe509070e3d27e6d5dbc4bf8588e9453e9b949.zip |
UBI: check if we are in RO mode in the erase routine
'do_sync_erase()' has to check whether we are in R/O mode before
erasing the PEB. This patch adds the check and while on it, adds an
assertion which validates the 'pnum' argument, as well as removes
a check which is always true because it has already been done
few lines before.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions