From: NeilBrown Date: Fri, 6 Jan 2006 08:20:40 +0000 (-0800) Subject: [PATCH] md: define and use safe_put_page for md X-Git-Tag: v2.6.16-rc1~936^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1345b1d8adbdeceb1c871d9a4af5e2a700b341c6;p=pandora-kernel.git [PATCH] md: define and use safe_put_page for md md sometimes call put_page on NULL pointers (treating it like kfree). This is not safe, so define and use a 'safe_put_page' which checks for NULL. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed