aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorAlan Huang <[email protected]>2025-06-13 13:19:50 +0000
committerKent Overstreet <[email protected]>2025-06-16 02:11:55 +0000
commit9b9a3270092bf8030dbe21ce90b2d0c8d98d33c7 (patch)
tree9ab48fe018724f6af424abff1382ec8d713171bb /fs/bcachefs/btree_trans_commit.c
parentbcachefs: btree iter tracepoints (diff)
downloadkernel-9b9a3270092bf8030dbe21ce90b2d0c8d98d33c7.tar.gz
kernel-9b9a3270092bf8030dbe21ce90b2d0c8d98d33c7.zip
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 <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions