summaryrefslogtreecommitdiff
path: root/lib/bug.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2006-12-08 02:36:18 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:28:39 -0800
commitc48f70c3d046f021b1c22438604ef2a583380eca (patch)
tree88d38aeafa299c15d797cde4a2ef6afd81b82f07 /lib/bug.c
parentd63a5a74dee87883fda6b7d170244acaac5b05e8 (diff)
downloadlinux-3.10-c48f70c3d046f021b1c22438604ef2a583380eca.tar.gz
linux-3.10-c48f70c3d046f021b1c22438604ef2a583380eca.tar.bz2
linux-3.10-c48f70c3d046f021b1c22438604ef2a583380eca.zip
[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/bug.c')
0 files changed, 0 insertions, 0 deletions