diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-25 01:41:17 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-01 00:03:12 -0400 |
| commit | 9cb49fbf734609c79ba29c43d98e1230ecd1361a (patch) | |
| tree | d923ed2f5f07ad68e7a9f313997a10b2e0d0a98c /fs/bcachefs/chardev.c | |
| parent | bcachefs: CLASS(darray) (diff) | |
| download | linux-9cb49fbf734609c79ba29c43d98e1230ecd1361a.tar.gz linux-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 <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/chardev.c')
0 files changed, 0 insertions, 0 deletions
