diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-30 15:30:35 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-08 17:29:22 -0400 |
commit | b07eb8252fb1455cc54bb306e253e193a7a39228 (patch) | |
tree | 65e2777820f463c20a743eeabaffba921f0f7e56 /drivers/gpio/gpio-dln2.c | |
parent | 6349b07c25a03dbad3ff0e9a20a27a367ddd2997 (diff) |
bcachefs: bch2_dev_tryget()
Most uses of bch2_dev_bkey_exists() are going away, where we assume that
because a key references a device the device most exist - instead, we'll
be explicitly checking if the device exists and getting a reference to
it.
This adds the new helpers.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers/gpio/gpio-dln2.c')
0 files changed, 0 insertions, 0 deletions