diff options
author | Ben Gardiner <bengardiner@nanometrics.ca> | 2011-05-30 14:56:14 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-03 18:12:31 +0300 |
commit | 4f1ab9b01d34eac9fc958f7150d3bf266dcc1685 (patch) | |
tree | 77ff5efa6449743984e77f491902fa53f7716969 /fs/notify | |
parent | 837072377034d0a0b18b851d1ab95676b245cc0a (diff) |
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/notify')
0 files changed, 0 insertions, 0 deletions