diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2006-12-08 02:36:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:39 -0800 |
commit | c48f70c3d046f021b1c22438604ef2a583380eca (patch) | |
tree | 88d38aeafa299c15d797cde4a2ef6afd81b82f07 /drivers/spi | |
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 'drivers/spi')
0 files changed, 0 insertions, 0 deletions