diff options
author | Ben Gardiner <bengardiner@nanometrics.ca> | 2011-05-30 14:56:15 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-03 18:12:31 +0300 |
commit | 781c5717a95a74b294beb38b8276943b0f8b5bb4 (patch) | |
tree | ed8dfe3b7066e6d0854e381f46712c7280b2f05e /fs/ubifs/ubifs-media.h | |
parent | 4f1ab9b01d34eac9fc958f7150d3bf266dcc1685 (diff) |
UBIFS: intialize LPT earlier
The current 'mount_ubifs()' implementation does not initialize the LPT until the
the master node is marked dirty. Move the LPT initialization to before marking
the master node dirty. This is a preparation for the next patch which will move
the free-space-fixup check to before marking the master node dirty, because we
have to fix-up the free space before doing any writes.
Artem: massaged the patch and commit message.
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: Matthew L. Creech <mlcreech@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs-media.h')
0 files changed, 0 insertions, 0 deletions