diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-11-05 13:07:16 +0100 |
---|---|---|
committer | Mariusz Tkaczyk <mtkaczyk@kernel.org> | 2024-12-16 10:11:31 +0100 |
commit | b9888145987e273a7613209721a68f75e060263e (patch) | |
tree | a62bdc1eb8137506a52ed257e1372bf99ea6727b /mdadm.h | |
parent | sysfs: functions for writing md/<memb>/state (diff) | |
download | mdadm-b9888145987e273a7613209721a68f75e060263e.tar.xz mdadm-b9888145987e273a7613209721a68f75e060263e.zip |
Incremental: Simplify remove logic
Incremental_remove() does not execute Manage_subdevs() now.
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -829,6 +829,7 @@ extern mdadm_status_t sysfs_write_descriptor(const int fd, const char *value, const ssize_t len, int *errno_p); extern mdadm_status_t write_attr(const char *value, const int fd); extern mdadm_status_t sysfs_set_memb_state_fd(int fd, memb_state_t state, int *err); +extern mdadm_status_t sysfs_set_memb_state(char *array_devnm, char *memb_devnm, memb_state_t state); extern void sysfs_get_container_devnm(struct mdinfo *mdi, char *buf); extern int sysfs_open(char *devnm, char *devname, char *attr); |