]> git.karo-electronics.de Git - karo-tx-linux.git/commit
security/keys/keyctl.c: suppress memory allocation failure warning
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 25 Apr 2012 01:03:48 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:27 +0000 (15:17 +1000)
commit51f48875b3c65eab9b970d6b24e5815b66d849a2
tree686fe87f0f9ea5c08cded70f3efe0346c850b325
parent285225e8293c8e81ce211970cac5b2e1689640f5
security/keys/keyctl.c: suppress memory allocation failure warning

This allocation may be large.  The code is probing to see if it will
succeed and if not, it falls back to vmalloc().  We should suppress any
page-allocation failure messages when the fallback happens.

Reported-by: Dave Jones <davej@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
security/keys/keyctl.c