]> Git Repo - linux.git/commit
[PATCH] bdev: fix ->bd_part_count leak
authorPeter Zijlstra <[email protected]>
Fri, 8 Dec 2006 10:36:18 +0000 (02:36 -0800)
committerLinus Torvalds <[email protected]>
Fri, 8 Dec 2006 16:28:39 +0000 (08:28 -0800)
commitc48f70c3d046f021b1c22438604ef2a583380eca
tree88d38aeafa299c15d797cde4a2ef6afd81b82f07
parentd63a5a74dee87883fda6b7d170244acaac5b05e8
[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 <[email protected]>
Acked-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/block_dev.c
This page took 0.064568 seconds and 4 git commands to generate.