aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2025-05-25 05:41:17 +0000
committerKent Overstreet <[email protected]>2025-06-01 04:03:12 +0000
commit9cb49fbf734609c79ba29c43d98e1230ecd1361a (patch)
treed923ed2f5f07ad68e7a9f313997a10b2e0d0a98c /fs/bcachefs/btree_trans_commit.c
parentbcachefs: CLASS(darray) (diff)
downloadkernel-9cb49fbf734609c79ba29c43d98e1230ecd1361a.tar.gz
kernel-9cb49fbf734609c79ba29c43d98e1230ecd1361a.zip
bcachefs: CLASS(btree_trans)
Allow btree_trans to be used with CLASS(). Automatic cleanup, instead of manually calling bch2_trans_put(). We don't use DEFINE_CLASS because using a static inline for the constructor breaks bch2_trans_get()'s use of __func__, so we have to open code it. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions