diff options
author | Ben Gardiner <bengardiner@nanometrics.ca> | 2011-05-30 14:56:16 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-03 18:12:31 +0300 |
commit | 098011940a2549ae7182db4bf101c3e3d2b4e6df (patch) | |
tree | 2c4c1e51beee85fba008a81598a58efffa1443d0 /fs/bio-integrity.c | |
parent | 781c5717a95a74b294beb38b8276943b0f8b5bb4 (diff) | |
download | blackbird-op-linux-098011940a2549ae7182db4bf101c3e3d2b4e6df.tar.gz blackbird-op-linux-098011940a2549ae7182db4bf101c3e3d2b4e6df.zip |
UBIFS: fix-up free space earlier
The free space fixup is currently initiated during mount after the call to
ubifs_write_master() which results in a write to PEBs; this has been observed
with the patch 'assert no fixup when writing a node' applied:
Move the free space fixup on mount to before the calls to
ubifs_recover_inl_heads() and ubifs_write_master(). This results in no
assertions with the previously mentioned patch applied.
Artem: tweaked the patch a bit
Signed-off-by: Ben Gardiner <bengardiner@nanometrics>
Reviewed-by: Matthew L. Creech <mlcreech@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions