diff options
author | Alasdair G Kergon <agk@redhat.com> | 2006-10-03 04:15:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:04:15 -0400 |
commit | 695368ac3302174531429a90d55c3f7f9b83906e (patch) | |
tree | 515457b78ec2bf95dab7f5b614284ccecda8afbd /drivers/md/dm-raid1.c | |
parent | 4b832e8de22726206eb886f6dbff47a0f3fe5168 (diff) |
[PATCH] dm snapshot: fix freeing pending exception
If a snapshot became invalid while there are outstanding pending_exceptions,
when pending_complete() processes each one it forgets to remove the
corresponding exception from its exception table before freeing it.
Fix this by moving the 'out:' label up one statement so that
remove_exception() is always called. Then __invalidate_exception() no longer
needs to call it and its 'pe' argument become superfluous.
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm-raid1.c')
0 files changed, 0 insertions, 0 deletions