static void handle_node_poweroff(struct rpc_desc *desc)
{
	emergency_sync();
	emergency_remount();

	set_current_state(TASK_INTERRUPTIBLE);
	schedule_timeout(5 * HZ);

	local_irq_enable();
	kernel_power_off();

	// should never be reached
	BUG();
}
static void sysrq_handle_mountro(int key)
{
	emergency_remount();
}
Beispiel #3
0
static void sysrq_handle_mountro(int key, struct tty_struct *tty)
{
    emergency_remount();
}