diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-09-23 14:15:31 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-09-27 11:08:49 +0200 |
commit | 60923d5cae78447902e9ec10c44504e0588cf447 (patch) | |
tree | fd6afad80abe819180c4bc9920418cc4333d4519 /Incremental.c | |
parent | CI: do not install unnecessary packages (diff) | |
download | mdadm-60923d5cae78447902e9ec10c44504e0588cf447.tar.xz mdadm-60923d5cae78447902e9ec10c44504e0588cf447.zip |
Incremental: Rename IncrementalRemove
Rename it to Incremental_remove for better readability.
No functional changes.
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'Incremental.c')
-rw-r--r-- | Incremental.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Incremental.c b/Incremental.c index c1389a15..e7987d1d 100644 --- a/Incremental.c +++ b/Incremental.c @@ -1695,7 +1695,7 @@ static bool is_devnode_path(char *devnode) } /** - * IncrementalRemove() - Remove the device from all raid arrays. + * Incremental_remove() - Remove the device from all raid arrays. * @devname: the device we want to remove, it could be kernel device name or devnode. * @id_path: optional, /dev/disk/by-path path to save for bare scenarios support. * @verbose: verbose flag. @@ -1703,7 +1703,7 @@ static bool is_devnode_path(char *devnode) * First, fail the device (if needed) and then remove the device from native raid array or external * container. If it is external container, the device is removed from each subarray first. */ -int IncrementalRemove(char *devname, char *id_path, int verbose) +int Incremental_remove(char *devname, char *id_path, int verbose) { char *devnm = basename(devname); struct mddev_dev devlist = {0}; |