]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/xattr.c: suppress page allocation failure warnings from sys_listxattr()
authorDave Jones <davej@redhat.com>
Wed, 4 Apr 2012 00:07:55 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 4 Apr 2012 03:07:14 +0000 (13:07 +1000)
commitb981b26bc08f1a802628d3cf59fb797a11e7360c
tree4f26f3a8f6d5afb3dd0264aafd0c606622c21683
parentd9f273679f2410fa0ad13c2336a452bdfab279db
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>
fs/xattr.c