fs/xattr.c: suppress page allocation failure warnings from sys_listxattr()
authorDave Jones <davej@redhat.com>
Thu, 5 Apr 2012 21:25:06 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 Apr 2012 22:25:50 +0000 (15:25 -0700)
commit703bf2d122c95412a30f72658c53ad6292867b0b
treea949f0f54df7e1e2aed731a1be9a536c4d16287e
parentb82c32872db20667d6ee8e2ea1e7bdec791bdcc7
fs/xattr.c: suppress page allocation failure warnings from sys_listxattr()

This size is user controllable, up to a maximum of XATTR_LIST_MAX (64k).
So it's trivial for someone to trigger a stream of order:4 page
allocation errors.

Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Dave Chinner <david@fromorbit.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/xattr.c