diff options
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 0a3a803dd22f..69cbee3be7a4 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -255,7 +255,8 @@ struct ubi_wl_entry; | |||
255 | * @vtbl_slots: how many slots are available in the volume table | 255 | * @vtbl_slots: how many slots are available in the volume table |
256 | * @vtbl_size: size of the volume table in bytes | 256 | * @vtbl_size: size of the volume table in bytes |
257 | * @vtbl: in-RAM volume table copy | 257 | * @vtbl: in-RAM volume table copy |
258 | * @vtbl_mutex: protects on-flash volume table | 258 | * @volumes_mutex: protects on-flash volume table and serializes volume |
259 | * changes, like creation, deletion, update, resize | ||
259 | * | 260 | * |
260 | * @max_ec: current highest erase counter value | 261 | * @max_ec: current highest erase counter value |
261 | * @mean_ec: current mean erase counter value | 262 | * @mean_ec: current mean erase counter value |
@@ -333,7 +334,7 @@ struct ubi_device { | |||
333 | int vtbl_slots; | 334 | int vtbl_slots; |
334 | int vtbl_size; | 335 | int vtbl_size; |
335 | struct ubi_vtbl_record *vtbl; | 336 | struct ubi_vtbl_record *vtbl; |
336 | struct mutex vtbl_mutex; | 337 | struct mutex volumes_mutex; |
337 | 338 | ||
338 | int max_ec; | 339 | int max_ec; |
339 | int mean_ec; | 340 | int mean_ec; |