diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2006-12-08 05:36:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:39 -0500 |
commit | c48f70c3d046f021b1c22438604ef2a583380eca (patch) | |
tree | 88d38aeafa299c15d797cde4a2ef6afd81b82f07 /lib/hweight.c | |
parent | d63a5a74dee87883fda6b7d170244acaac5b05e8 (diff) |
[PATCH] bdev: fix ->bd_part_count leak
Don't leak a ->bd_part_count when the partition open fails with -ENXIO.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions