diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-25 08:41:17 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-01 07:03:12 +0300 |
commit | 9cb49fbf734609c79ba29c43d98e1230ecd1361a (patch) | |
tree | d923ed2f5f07ad68e7a9f313997a10b2e0d0a98c /scripts/lib/kdoc/kdoc_output.py | |
parent | 42359f1615cf0c8184de67408ab294b574cfaaf6 (diff) | |
download | linux-9cb49fbf734609c79ba29c43d98e1230ecd1361a.tar.xz |
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 <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions