summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/magic.h
diff options
context:
space:
mode:
authorVito Caputo <vito.caputo@coreos.com>2015-10-24 07:19:46 -0500
committerMiklos Szeredi <miklos@szeredi.hu>2015-11-10 17:08:42 +0100
commite4ad29fa0d224d05e08b2858e65f112fd8edd4fe (patch)
treef0c3477a1614df70e2b6f0a3bb26513c7c5f249d /include/uapi/linux/magic.h
parent97daf8b97ad6f913a34c82515be64dc9ac08d63e (diff)
downloadlinux-stable-e4ad29fa0d224d05e08b2858e65f112fd8edd4fe.tar.gz
linux-stable-e4ad29fa0d224d05e08b2858e65f112fd8edd4fe.tar.bz2
linux-stable-e4ad29fa0d224d05e08b2858e65f112fd8edd4fe.zip
ovl: use a minimal buffer in ovl_copy_xattr
Rather than always allocating the high-order XATTR_SIZE_MAX buffer which is costly and prone to failure, only allocate what is needed and realloc if necessary. Fixes https://github.com/coreos/bugs/issues/489 Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'include/uapi/linux/magic.h')
0 files changed, 0 insertions, 0 deletions