diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-06-01 17:17:16 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-06-01 17:33:19 -0400 |
commit | bb6f4111fbfe2550eb7b583586e732a473ba62f0 (patch) | |
tree | 72f01b9dbeaba544efb75016309c0da6839913ae /libbcachefs/disk_groups.c | |
parent | d7bfc55d236363c7f9d2edee7437202497e462b5 (diff) |
Update bcachefs sources to 9abf628c70 bcachefs: Fix a spurious error in fsck
Diffstat (limited to 'libbcachefs/disk_groups.c')
-rw-r--r-- | libbcachefs/disk_groups.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/disk_groups.c b/libbcachefs/disk_groups.c index cd200cb..87f3940 100644 --- a/libbcachefs/disk_groups.c +++ b/libbcachefs/disk_groups.c @@ -176,6 +176,8 @@ const struct bch_devs_mask *bch2_target_to_mask(struct bch_fs *c, unsigned targe struct target t = target_decode(target); switch (t.type) { + case TARGET_NULL: + return NULL; case TARGET_DEV: { struct bch_dev *ca = t.dev < c->sb.nr_devices ? rcu_dereference(c->devs[t.dev]) |