diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-17 09:12:26 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 13:26:04 -0400 |
commit | fbd0107f4d33be01c9fb2c630036bd66b7e3d4dc (patch) | |
tree | d8ebd19a5cba548daea0c33f774ff7847b9cc523 /drivers/mtd/ubi/ubi-media.h | |
parent | 1fc2e3e59d78999fc4be7349af769cf6621b9e61 (diff) |
UBI: amend comments after all the renamings
This patch amends commentaries in scan.[ch] to match the new logic. Reminder -
we did the restructuring to prepare the code for adding the fastmap. This patch
also renames a couple of functions - it was too difficult to separate out that
change and I decided that it is not too bad to have it in the same patch with
commentaries changes.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/ubi-media.h')
-rw-r--r-- | drivers/mtd/ubi/ubi-media.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi/ubi-media.h index 6fb8ec2174a5..07cd88f2b203 100644 --- a/drivers/mtd/ubi/ubi-media.h +++ b/drivers/mtd/ubi/ubi-media.h | |||
@@ -149,10 +149,10 @@ enum { | |||
149 | * The @image_seq field is used to validate a UBI image that has been prepared | 149 | * The @image_seq field is used to validate a UBI image that has been prepared |
150 | * for a UBI device. The @image_seq value can be any value, but it must be the | 150 | * for a UBI device. The @image_seq value can be any value, but it must be the |
151 | * same on all eraseblocks. UBI will ensure that all new erase counter headers | 151 | * same on all eraseblocks. UBI will ensure that all new erase counter headers |
152 | * also contain this value, and will check the value when scanning at start-up. | 152 | * also contain this value, and will check the value when attaching the flash. |
153 | * One way to make use of @image_seq is to increase its value by one every time | 153 | * One way to make use of @image_seq is to increase its value by one every time |
154 | * an image is flashed over an existing image, then, if the flashing does not | 154 | * an image is flashed over an existing image, then, if the flashing does not |
155 | * complete, UBI will detect the error when scanning. | 155 | * complete, UBI will detect the error when attaching the media. |
156 | */ | 156 | */ |
157 | struct ubi_ec_hdr { | 157 | struct ubi_ec_hdr { |
158 | __be32 magic; | 158 | __be32 magic; |