From: Peter Rajnoha <prajnoha@redhat.com>
To: dm-devel@redhat.com
Subject: [PATCH] dm-ioctl: Return data to userspace after rename ioctl is processed
Date: Tue, 13 Apr 2010 17:10:02 +0200 [thread overview]
Message-ID: <4BC4894A.2090306@redhat.com> (raw)
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);
}
next reply other threads:[~2010-04-13 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-13 15:10 Peter Rajnoha [this message]
2010-05-18 13:48 ` [PATCH] dm-ioctl: Return data to userspace after rename ioctl is processed Peter Rajnoha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BC4894A.2090306@redhat.com \
--to=prajnoha@redhat.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.