]> git.baikalelectronics.ru Git - kernel.git/commit
security/keys/keyctl.c: suppress memory allocation failure warning
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 31 May 2012 23:26:02 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Jun 2012 00:49:26 +0000 (17:49 -0700)
commit3a53255950d6f7d66309a797663523a484b3f232
tree4332c441b47b3ce6f29b424d24923aebdc44d7eb
parent405c956be0afd8d02ecbc11048b6a816764831a6
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/keys/keyctl.c