]> 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>
Thu, 12 Apr 2012 22:52:10 +0000 (08:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:22 +0000 (13:47 +1000)
commit069ec24e35e1062f8c4515c198530fad53567100
tree1a59d521435c24a41c11188f2b3b081aed85070f
parent35362fe58e50f5873318dccb92570277dec8ea51
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