ovl: use kvalloc in xattr copy-up
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 22 Jul 2021 12:18:14 +0000 (14:18 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 17 Aug 2021 09:47:45 +0000 (11:47 +0200)
commitf945ca1963c8bd29471020d7c58c594ee7007006
tree454546b7f319a2fee61549e51b7843d10597db23
parentd8991e8622e758b718e2e4291d31dd0bea4e14a4
ovl: use kvalloc in xattr copy-up

Extended attributes are usually small, but could be up to 64k in size, so
use the most efficient method for doing the allocation.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/copy_up.c