]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] freevxfs: fix buffer_head leak
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 30 Jun 2005 09:59:04 +0000 (02:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 15:45:12 +0000 (08:45 -0700)
commit33b3f454efd77ab98f9444980e31530b646994af
tree5a4b9a7a39a08f01656d4eda549ecc6fee80f822
parent945c57c47c878e729336dc01b8e33464947a101d
[PATCH] freevxfs: fix buffer_head leak

- fix a buffer_head leak in vxfs_getfsh()

- s/SLAB_KERNEL/GFP_KERNEL/

- check sb_bread() return value

- drop pointless buffer-mapped() test.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/freevxfs/vxfs_fshead.c