All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Rajnoha <prajnoha@redhat.com>
To: dm-devel@redhat.com
Cc: agk@redhat.com
Subject: Re: [PATCH] dm_ioctl: Introduce DM_UEVENT_GENERATED_FLAG
Date: Mon, 08 Mar 2010 08:10:45 +0100	[thread overview]
Message-ID: <4B94A2F5.8080000@redhat.com> (raw)
In-Reply-To: <20100305193819.GS27852@agk-dp.fab.redhat.com>

On 03/05/2010 08:38 PM, Alasdair G Kergon wrote:
> On Mon, Mar 01, 2010 at 09:27:17AM +0100, Peter Rajnoha wrote:
>> +	if (!dm_kobject_uevent(hc->md, KOBJ_CHANGE, cookie))
>> +		*flags |= DM_UEVENT_GENERATED_FLAG;
>   
> If userspace set this flag before the call, where is it cleared?
> It needs to have a defined state on *every* call.
> I'll add this to the top of validate_params.

Yes, you're right, we shouldn't rely on userspace to do this.
Indeed, it needs to be cleared directly. Thanks!

Peter

      reply	other threads:[~2010-03-08  7:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-01  8:27 [PATCH] dm_ioctl: Introduce DM_UEVENT_GENERATED_FLAG Peter Rajnoha
2010-03-05 19:32 ` Alasdair G Kergon
2010-03-08  7:07   ` Peter Rajnoha
2010-03-05 19:38 ` Alasdair G Kergon
2010-03-08  7:10   ` Peter Rajnoha [this message]

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=4B94A2F5.8080000@redhat.com \
    --to=prajnoha@redhat.com \
    --cc=agk@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.