+11
−5
Loading
Don't change buf->size on error - this would usually be a transaction restart, but it could also be -ENOMEM - when we've exceeded the bump allocator max). Fixes: 247abee6 ("bcachefs: btree_trans_subbuf") Signed-off-by:Kent Overstreet <kent.overstreet@linux.dev>