On Wed, Mar 7, 2012 at 10:59, Andrew Vagin <avagin@xxxxxxxxxx> wrote: > The queue handling in the udev daemon assumes that the events are > ordered. > - retval = add_uevent_var(env, "SEQNUM=%llu", (unsigned long long)seq); > + retval = add_uevent_var(env, "SEQNUM=%llu", (unsigned long long)++uevent_seqnum); > if (retval) > goto exit; We need to unlock the mutex before the goto exit? Other than that, looks good to me. Thanks, Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html