mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
UBI: introduce UBI_ALL constant
Joel will use it in his 'ubi_flush()' extention to specify all eraseblocks. Also amend the comment for UBI_UNKNOWN - it is used beyond attaching info structure now. Signed-off-by: Artem Bityutskiy <[email protected]>
This commit is contained in:
parent
d36e59e69b
commit
05a3cb7dce
2 changed files with 8 additions and 5 deletions
|
|
@ -65,7 +65,10 @@
|
|||
/* Background thread name pattern */
|
||||
#define UBI_BGT_NAME_PATTERN "ubi_bgt%dd"
|
||||
|
||||
/* This marker in the EBA table means that the LEB is um-mapped */
|
||||
/*
|
||||
* This marker in the EBA table means that the LEB is um-mapped.
|
||||
* NOTE! It has to have the same value as %UBI_ALL.
|
||||
*/
|
||||
#define UBI_LEB_UNMAPPED -1
|
||||
|
||||
/*
|
||||
|
|
@ -81,10 +84,7 @@
|
|||
*/
|
||||
#define UBI_PROT_QUEUE_LEN 10
|
||||
|
||||
/*
|
||||
* When a field of the attaching information has this value - its real value is
|
||||
* unknown.
|
||||
*/
|
||||
/* The volume ID/LEB number/erase counter is unknown */
|
||||
#define UBI_UNKNOWN -1
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue