From 90a4323ccfeaa2ef35a8f4c6443ee5106453d961 Mon Sep 17 00:00:00 2001 From: Mike Snitzer Date: Wed, 17 Feb 2016 21:29:17 -0500 Subject: dm path selector: remove 'repeat_count' return from .select_path hook If a path selector has any use for a repeat_count it should be handled locally and not depend on the dm-mpath core to be concerned with it. Signed-off-by: Mike Snitzer --- drivers/md/dm-path-selector.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/md/dm-path-selector.h') diff --git a/drivers/md/dm-path-selector.h b/drivers/md/dm-path-selector.h index e7d1fa8b0459..b6eb5365b1a4 100644 --- a/drivers/md/dm-path-selector.h +++ b/drivers/md/dm-path-selector.h @@ -50,13 +50,8 @@ struct path_selector_type { /* * Chooses a path for this io, if no paths are available then * NULL will be returned. - * - * repeat_count is the number of times to use the path before - * calling the function again. 0 means don't call it again unless - * the path fails. */ struct dm_path *(*select_path) (struct path_selector *ps, - unsigned *repeat_count, size_t nr_bytes); /* -- cgit v1.2.3