permit mempool_free(NULL)
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 16 Jul 2007 06:42:00 +0000 (23:42 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:52 +0000 (09:05 -0700)
commitc80e7a826c10cf5bce8487fbaede48bd0bd48d08
tree90a8f4dd0c936eacab217a183a9ff311ad259a32
parent5e70030d4cf91613530a23b40ad9919bb9ee114f
permit mempool_free(NULL)

Christian Borntraeger points out that mempool_free() doesn't noop when
handed NULL.  This is inconsistent with the other free-like functions
in the kernel.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempool.c