Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305190
b: refs/heads/master
c: 05a3cb7
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy committed May 21, 2012
1 parent b19d6dd commit 88f1b19
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d36e59e69b8be536c55d6118630f0221cee5ccee
refs/heads/master: 05a3cb7dcec5a15ed9b18a5317ba2075355c7547
10 changes: 5 additions & 5 deletions trunk/drivers/mtd/ubi/ubi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
Expand All @@ -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

/*
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/mtd/ubi.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#include <linux/types.h>
#include <mtd/ubi-user.h>

/* All voumes/LEBs */
#define UBI_ALL -1

/*
* enum ubi_open_mode - UBI volume open mode constants.
*
Expand Down

0 comments on commit 88f1b19

Please sign in to comment.