diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-13 06:02:00 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-16 03:31:39 -0400 |
commit | 7a9c3e399389723f01be3dab50991604d2bc0409 (patch) | |
tree | 769e44a347090f15793384f548366676e8966835 /fs/ubifs | |
parent | c839e29768059c56ef233586e66a2a66edbe93a3 (diff) |
UBIFS: improve commentary
This is a tiny clean-up patch which improves replay commentaries.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/replay.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c index 005266330192..e27346f6c67c 100644 --- a/fs/ubifs/replay.c +++ b/fs/ubifs/replay.c | |||
@@ -125,10 +125,11 @@ static int set_bud_lprops(struct ubifs_info *c, struct replay_entry *r) | |||
125 | * zero which means the LEB must have been empty. The LEB | 125 | * zero which means the LEB must have been empty. The LEB |
126 | * property values should be lp->free == c->leb_size and | 126 | * property values should be lp->free == c->leb_size and |
127 | * lp->dirty == 0, but that is not the case. The reason is that | 127 | * lp->dirty == 0, but that is not the case. The reason is that |
128 | * the LEB was garbage collected. The garbage collector resets | 128 | * the LEB had been garbage collected before it became the bud, |
129 | * the free and dirty space without recording it anywhere except | 129 | * and there was not commit inbetween. The garbage collector |
130 | * lprops, so if there is not a commit then lprops does not have | 130 | * resets the free and dirty space without recording it |
131 | * that information next time the file system is mounted. | 131 | * anywhere except lprops, so if there was no commit then |
132 | * lprops does not have that information. | ||
132 | * | 133 | * |
133 | * We do not need to adjust free space because the scan has told | 134 | * We do not need to adjust free space because the scan has told |
134 | * us the exact value which is recorded in the replay entry as | 135 | * us the exact value which is recorded in the replay entry as |