diff options
author | Ye Bin <yebin10@huawei.com> | 2022-12-08 10:32:31 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-18 09:26:40 +0100 |
commit | 73c44f61dab180b5f2dee9f15397aba36a75a882 (patch) | |
tree | becbb3dc8905b7c0470702e445ab1c906c0d6344 /include/linux | |
parent | 0108fad1bcfae7a4e1769a022e89befa9cb13553 (diff) | |
download | linux-stable-73c44f61dab180b5f2dee9f15397aba36a75a882.tar.gz linux-stable-73c44f61dab180b5f2dee9f15397aba36a75a882.tar.bz2 linux-stable-73c44f61dab180b5f2dee9f15397aba36a75a882.zip |
ext4: allocate extended attribute value in vmalloc area
commit cc12a6f25e07ed05d5825a1664b67a970842b2ca upstream.
Now, extended attribute value maximum length is 64K. The memory
requested here does not need continuous physical addresses, so it is
appropriate to use kvmalloc to request memory. At the same time, it
can also cope with the situation that the extended attribute will
become longer in the future.
Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20221208023233.1231330-3-yebin@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions