... after userspace stopped to use it in https://jira.sw.ru/browse/PSBM-129693
Signed-off-by: Kirill Tkhai <[email protected]> --- drivers/md/dm-ploop-cmd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/md/dm-ploop-cmd.c b/drivers/md/dm-ploop-cmd.c index fff68ecc3c7b..bba1c293f088 100644 --- a/drivers/md/dm-ploop-cmd.c +++ b/drivers/md/dm-ploop-cmd.c @@ -1118,8 +1118,7 @@ static int ploop_get_event(struct ploop *ploop, char *result, unsigned int maxle static bool msg_wants_down_read(const char *cmd) { /* TODO: kill get_delta_name */ - if (!strcmp(cmd, "get_delta_name") || - !strcmp(cmd, "get_img_name")) + if (!strcmp(cmd, "get_img_name")) return true; return false; @@ -1167,8 +1166,7 @@ int ploop_message(struct dm_target *ti, unsigned int argc, char **argv, if (argc != 2 || kstrtou64(argv[1], 10, &val) < 0) goto unlock; ret = ploop_notify_merged(ploop, val, forward); - } else if (!strcmp(argv[0], "get_delta_name") || - !strcmp(argv[0], "get_img_name")) { + } else if (!strcmp(argv[0], "get_img_name")) { if (argc != 2 || kstrtou64(argv[1], 10, &val) < 0) goto unlock; ret = ploop_get_delta_name_cmd(ploop, (u8)val, result, maxlen); _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
