diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-08-12 15:00:08 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:43 -0400 |
commit | 01566db2fb1fca313d75b8b849ee95bb9ec5bcd7 (patch) | |
tree | 5de9aabd8964554a8213c86b87d39261eba701e8 /fs/bcachefs/disk_groups.h | |
parent | 142cbdff9b3d8e7fe8619d906f9eefd50b078f5f (diff) | |
download | linux-01566db2fb1fca313d75b8b849ee95bb9ec5bcd7.tar.gz linux-01566db2fb1fca313d75b8b849ee95bb9ec5bcd7.tar.bz2 linux-01566db2fb1fca313d75b8b849ee95bb9ec5bcd7.zip |
bcachefs: Fix disk groups not being updated when set via sysfs
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/disk_groups.h')
-rw-r--r-- | fs/bcachefs/disk_groups.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/disk_groups.h b/fs/bcachefs/disk_groups.h index c8e0c37a5e1a..3d84f23c34ed 100644 --- a/fs/bcachefs/disk_groups.h +++ b/fs/bcachefs/disk_groups.h @@ -71,7 +71,10 @@ static inline struct bch_devs_mask target_rw_devs(struct bch_fs *c, bool bch2_dev_in_target(struct bch_fs *, unsigned, unsigned); int bch2_disk_path_find(struct bch_sb_handle *, const char *); + +/* Exported for userspace bcachefs-tools: */ int bch2_disk_path_find_or_create(struct bch_sb_handle *, const char *); + void bch2_disk_path_to_text(struct printbuf *, struct bch_sb_handle *, unsigned); |