Allow data to be returned to userspace after a rename ioctl is processed. It carries important information for userspace code to react properly, now checking new DM_UEVENT_GENERATED_FLAG that has been added recently. Signed-off-by: Peter Rajnoha --- diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index d7500e1..d33f171 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -774,8 +774,6 @@ static int dev_rename(struct dm_ioctl *param, size_t param_size) if (r) return r; - param->data_size = 0; - return dm_hash_rename(param->event_nr, ¶m->flags, param->name, new_name); } -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel