diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-04 19:21:22 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-21 01:36:22 -0500 |
| commit | 47d6ee766f8033563aff333f326378cd4b36a170 (patch) | |
| tree | fa96720e06dc29967d182c8f83df06b0f2521fe0 /fs/bcachefs/alloc_foreground.h | |
| parent | bcachefs: Fix failure to allocate journal write on discard retry (diff) | |
| download | linux-47d6ee766f8033563aff333f326378cd4b36a170.tar.gz linux-47d6ee766f8033563aff333f326378cd4b36a170.zip | |
bcachefs: dev_alloc_list.devs -> dev_alloc_list.data
This lets us use darray macros on dev_alloc_list (and it will become a
darray eventually, when we increase the maximum number of devices).
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.h')
| -rw-r--r-- | fs/bcachefs/alloc_foreground.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_foreground.h b/fs/bcachefs/alloc_foreground.h index 4f87745df97e..f25481a0d1a0 100644 --- a/fs/bcachefs/alloc_foreground.h +++ b/fs/bcachefs/alloc_foreground.h @@ -20,7 +20,7 @@ void bch2_reset_alloc_cursors(struct bch_fs *); struct dev_alloc_list { unsigned nr; - u8 devs[BCH_SB_MEMBERS_MAX]; + u8 data[BCH_SB_MEMBERS_MAX]; }; struct dev_alloc_list bch2_dev_alloc_list(struct bch_fs *, |
