Re: [PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

From: Joel Stanley
Date: Wed Apr 01 2015 - 01:33:07 EST


On Wed, Apr 1, 2015 at 3:22 PM, Anshuman Khandual
<khandual@xxxxxxxxxxxxxxxxxx> wrote:
>> +static int __orderly_poweroff(bool force)
>> +{
>> + int ret;
>> +
>> + ret = run_cmd(reboot_cmd);
>
> Would it be poweroff_cmd instead of reboot_cmd ? Dont see poweroff_cmd getting used.

Yes, good catch. Thanks.

Joel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/