diff options
author | Ben Gardiner <bengardiner@nanometrics.ca> | 2011-05-30 18:56:14 (GMT) |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-03 15:12:31 (GMT) |
commit | 4f1ab9b01d34eac9fc958f7150d3bf266dcc1685 (patch) | |
tree | 77ff5efa6449743984e77f491902fa53f7716969 /fs/ubifs/super.c | |
parent | 837072377034d0a0b18b851d1ab95676b245cc0a (diff) | |
download | linux-fsl-qoriq-4f1ab9b01d34eac9fc958f7150d3bf266dcc1685.tar.xz |
UBIFS: assert no fixup when writing a node
The current free space fixup can result in some writing to the UBI volume
when the space_fixup flag is set.
To catch instances where UBIFS is writing to the NAND while the space_fixup
flag is set, add an assert to ubifs_write_node().
Artem: tweaked the patch, added similar assertion to the write buffer
write path.
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/super.c')
0 files changed, 0 insertions, 0 deletions