]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[PATCH] md: Fix several raid1 bugs which cause a memory leak
authorNeilBrown <neilb@suse.de>
Fri, 10 Mar 2006 01:33:46 +0000 (17:33 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Mar 2006 03:47:37 +0000 (19:47 -0800)
commit04b857f74cec5efc7730e9db47e291310f4708a4
tree4609bd7553665604270a976f6887d46140decfcb
parent628de616ba760b7b1d5e3d95dbe40a988fbf8ca5
[PATCH] md: Fix several raid1 bugs which cause a memory leak

- wrong test for 'is this a BARRIER bio'
- not freeing on all possible paths.
- using r1_bio after freeing it.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid1.c