Re: [PATCH v2 4/7] KEYS: split call to call_usermodehelper_fns()

From: Lucas De Marchi
Date: Mon Mar 25 2013 - 09:12:03 EST


On Mon, Mar 25, 2013 at 9:55 AM, David Howells <dhowells@xxxxxxxxxx> wrote:
> Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
>> Looks correct, but can't we simpluify it a bit?
>>
>> info = call_usermodehelper_setup(session_keyring);
>> if (!info)
>> return ENOMEM;
>
> -ENOMEM;-)

Yep, it's in -mm with -ENOMEM:
http://git.cmpxchg.org/?p=linux-mmotm.git;a=commitdiff;h=a8c67c6e380a8ff15997e8673e97d9fcdf7b8f9c

Lucas De Marchi
--
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/