]> 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, 4 Apr 2012 00:08:22 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 11 Apr 2012 04:45:49 +0000 (14:45 +1000)
commit08f8ec8340753b39dfcf3902ec54aef16a678448
tree1d4aa8095eb99eca3ec4c021dba868f7fdba6ef3
parent563b2aa62c8fa84a2df1a2f4b2d8dbf94f78491b
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>
Cc: David Howells <dhowells@redhat.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
security/keys/keyctl.c