From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754620AbYH1QwR (ORCPT ); Thu, 28 Aug 2008 12:52:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751776AbYH1QwG (ORCPT ); Thu, 28 Aug 2008 12:52:06 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:47967 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751750AbYH1QwF (ORCPT ); Thu, 28 Aug 2008 12:52:05 -0400 Date: Thu, 28 Aug 2008 09:49:24 -0700 From: Greg KH To: Tejun Heo Cc: Linux Kernel Mailing List Subject: Re: [PATCH 2/2] uevent: handle duplicate uevent_var keys properly Message-ID: <20080828164924.GB17475@kroah.com> References: <48B6D28E.10006@kernel.org> <48B6D2C6.4010703@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48B6D2C6.4010703@kernel.org> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 28, 2008 at 06:31:02PM +0200, Tejun Heo wrote: > add_uevent_var() appends the specified variable whether the new entry > has duplicate key or not. This patch makes add_uevent_var() to > override the existing entry if an entry with the same key is added > later. This will be used by CUSE (character device in userland) to > fake hotplug events. Hm, do you have any pointers to CUSE, that sounds interesting. And how would this change interact with fake hotplug events? thanks, greg k-h