diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2023-03-09 13:31:47 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2023-03-09 23:36:01 +0800 |
commit | 647dd2c3f0e16b71a1a77897d038164d48eea154 (patch) | |
tree | 68a835af8f74c1d69ab3e0bbfc32da7b1f319b3e /fs/nls | |
parent | 8f121dfb15f7b4ab345992ce96003eb63fd608f4 (diff) |
erofs: Revert "erofs: fix kvcalloc() misuse with __GFP_NOFAIL"
Let's revert commit 12724ba38992 ("erofs: fix kvcalloc() misuse with
__GFP_NOFAIL") since kvmalloc() already supports __GFP_NOFAIL in commit
a421ef303008 ("mm: allow !GFP_KERNEL allocations for kvmalloc"). So
the original fix was wrong.
Actually there was some issue as [1] discussed, so before that mm fix
is landed, the warn could still happen but applying this commit first
will cause less.
[1] https://lore.kernel.org/r/20230305053035.1911-1-hsiangkao@linux.alibaba.com
Fixes: 12724ba38992 ("erofs: fix kvcalloc() misuse with __GFP_NOFAIL")
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20230309053148.9223-1-hsiangkao@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions