[LogFS] Prevent mempool_destroy NULL pointer dereference
authorJoern Engel <joern@logfs.org>
Thu, 15 Apr 2010 06:03:57 +0000 (08:03 +0200)
committerJoern Engel <joern@logfs.org>
Thu, 15 Apr 2010 06:03:57 +0000 (08:03 +0200)
commit1f1b0008e8dd1930d6e89522c70f4a438374302a
treefb35404bdb4db79925891779e3be118eca8e85dd
parentead88af5f577fd2b399a0fcdfe52605116fac489
[LogFS] Prevent mempool_destroy NULL pointer dereference

It would probably be better to just accept NULL pointers in
mempool_destroy().  But for the current -rc series let's keep things
simple.

This patch was lost in the cracks for a while.
Kevin Cernekee <cernekee@gmail.com> had to rediscover the problem and
send a similar patch because of it. :(

Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/logfs.h
fs/logfs/readwrite.c
fs/logfs/segment.c
fs/logfs/super.c