[dm-devel] [PATCH] dm_ioctl: Introduce DM_UEVENT_GENERATED_FLAG

Alasdair G Kergon agk at redhat.com
Fri Mar 5 19:38:19 UTC 2010


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.

Alasdair




More information about the dm-devel mailing list