[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)
commitba03bda81e160b2724451074cdcb597d14f7d7e0
tree5a4b9a7a39a08f01656d4eda549ecc6fee80f822
parentf220ab2a5162c35cca6993ea473937cfc962fce4
[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