]> err.no Git - linux-2.6/commit
[PATCH] fix bdev leak in block_dev.c do_open()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Aug 2008 09:32:04 +0000 (05:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Aug 2008 15:25:26 +0000 (11:25 -0400)
commit8266602033d6adc6d10cb8811c1fd694767909b0
tree4a8a87ebf88bf184bf47e8c505df6e94571eb0d7
parent77e69dac3cefacee939cb107ae9cd520a62338e0
[PATCH] fix bdev leak in block_dev.c do_open()

Callers expect it to drop reference to bdev on all failure exits.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/block_dev.c