diff options
| author | Kent Overstreet <[email protected]> | 2024-04-30 15:30:35 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-05-08 17:29:22 -0400 |
| commit | b07eb8252fb1455cc54bb306e253e193a7a39228 (patch) | |
| tree | 65e2777820f463c20a743eeabaffba921f0f7e56 /drivers/usb/cdns3/cdns3-starfive.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 <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions