diff options
| author | 2024-04-30 15:30:35 -0400 | |
|---|---|---|
| committer | 2024-05-08 17:29:22 -0400 | |
| commit | b07eb8252fb1455cc54bb306e253e193a7a39228 (patch) | |
| tree | 65e2777820f463c20a743eeabaffba921f0f7e56 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | bcachefs: bch2_have_enough_devs() checks for nonexistent device (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 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
