diff options
Diffstat (limited to 'fs/bcachefs/super.h')
-rw-r--r-- | fs/bcachefs/super.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/fs/bcachefs/super.h b/fs/bcachefs/super.h index e90bab9afe78..d13dbf2b8227 100644 --- a/fs/bcachefs/super.h +++ b/fs/bcachefs/super.h @@ -17,18 +17,20 @@ struct bch_fs *bch2_dev_to_fs(dev_t); struct bch_fs *bch2_uuid_to_fs(__uuid_t); bool bch2_dev_state_allowed(struct bch_fs *, struct bch_dev *, - enum bch_member_state, int); + enum bch_member_state, int, + struct printbuf *); int __bch2_dev_set_state(struct bch_fs *, struct bch_dev *, - enum bch_member_state, int); + enum bch_member_state, int, + struct printbuf *); int bch2_dev_set_state(struct bch_fs *, struct bch_dev *, - enum bch_member_state, int); - -int bch2_dev_fail(struct bch_dev *, int); -int bch2_dev_remove(struct bch_fs *, struct bch_dev *, int); -int bch2_dev_add(struct bch_fs *, const char *); -int bch2_dev_online(struct bch_fs *, const char *); -int bch2_dev_offline(struct bch_fs *, struct bch_dev *, int); -int bch2_dev_resize(struct bch_fs *, struct bch_dev *, u64); + enum bch_member_state, int, + struct printbuf *); + +int bch2_dev_remove(struct bch_fs *, struct bch_dev *, int, struct printbuf *); +int bch2_dev_add(struct bch_fs *, const char *, struct printbuf *); +int bch2_dev_online(struct bch_fs *, const char *, struct printbuf *); +int bch2_dev_offline(struct bch_fs *, struct bch_dev *, int, struct printbuf *); +int bch2_dev_resize(struct bch_fs *, struct bch_dev *, u64, struct printbuf *); struct bch_dev *bch2_dev_lookup(struct bch_fs *, const char *); bool bch2_fs_emergency_read_only(struct bch_fs *); |