]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
acpi_memhotplug.c: don't allow to eject the memory device if it is being used
authorWen Congyang <wency@cn.fujitsu.com>
Tue, 14 Aug 2012 03:22:25 +0000 (13:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 20 Aug 2012 07:07:59 +0000 (17:07 +1000)
commit566455590b25546e46cb4de67823e39b6b6aa134
tree42eabf8478a2f6b7b93461a7f8e7f7ea01c00014
parent4a616176e8ddff9854477e686d421ed94d458954
acpi_memhotplug.c: don't allow to eject the memory device if it is being used

We eject the memory device even if it is in use.  It is very dangerous,
and it will cause the kernel to panic.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/acpi/acpi_memhotplug.c