[PATCH] free initrd mem adjustment
authorJan Beulich <JBeulich@novell.com>
Tue, 13 Sep 2005 08:25:12 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:28 +0000 (08:22 -0700)
commit0f3d2bd54f8fb178f516fc6903366e16e20f7428
treebe457190729938d6f5f43d5c64e994ac4ea80424
parenta1a5b3d93ca45613ec1d920fdb131b69b6553882
[PATCH] free initrd mem adjustment

Besides freeing initrd memory, also clear out the now dangling pointers to
it, to make sure accidental late use attempts can be detected.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
init/initramfs.c