All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dm-ioctl: Return data to userspace after rename ioctl is processed
@ 2010-04-13 15:10 Peter Rajnoha
  2010-05-18 13:48 ` Peter Rajnoha
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Rajnoha @ 2010-04-13 15:10 UTC (permalink / raw)
  To: dm-devel

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, &param->flags, param->name,
 			      new_name);
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-18 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13 15:10 [PATCH] dm-ioctl: Return data to userspace after rename ioctl is processed Peter Rajnoha
2010-05-18 13:48 ` Peter Rajnoha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.