summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorAlan Huang <mmpgouride@gmail.com>2025-06-13 16:19:50 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-16 05:11:55 +0300
commit9b9a3270092bf8030dbe21ce90b2d0c8d98d33c7 (patch)
tree9ab48fe018724f6af424abff1382ec8d713171bb /scripts/lib/kdoc/kdoc_output.py
parent3bd6f8aeae3d3f8121cbae5a8650a46622aa4e07 (diff)
downloadlinux-9b9a3270092bf8030dbe21ce90b2d0c8d98d33c7.tar.xz
bcachefs: Don't allocate new memory when mempool is exhausted
Allocating new memory when mempool is exhausted is too complicated, just return ENOMEM is fine. memcpy is not needed, since there might be pointers point to the old memory, that's the bug. Signed-off-by: Alan Huang <mmpgouride@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions