diff options
author | Nick Piggin <[email protected]> | 2007-11-15 12:32:04 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2007-11-15 08:36:27 -0800 |
commit | d32ddd8f20e7d7a49c45c337c2079be03c77dc41 (patch) | |
tree | a56dae80e045a8928bb8da74e6edb3874d297ee2 /fs/jbd2/commit.c | |
parent | a3474224e6a01924be40a8255636ea5522c1023a (diff) |
slob: fix memory corruption
Previously, it would be possible for prev->next to point to
&free_slob_pages, and thus we would try to move a list onto itself, and
bad things would happen.
It seems a bit hairy to be doing list operations with the list marker as
an entry, rather than a head, but...
this resolves the following crash:
http://bugzilla.kernel.org/show_bug.cgi?id=9379
Signed-off-by: Nick Piggin <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Matt Mackall <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions