[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87y5hy5adm.fsf@tucsk.pomaz.szeredi.hu>
Date: Mon, 19 Nov 2012 08:18:13 +0100
From: Miklos Szeredi <miklos@...redi.hu>
To: Tejun Heo <tj@...nel.org>
Cc: David Herrmann <dh.herrmann@...glemail.com>,
fuse-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] cuse: do not register multiple devices with identical names
Tejun Heo <tj@...nel.org> writes:
> On Sat, Nov 17, 2012 at 12:45:48PM +0100, David Herrmann wrote:
>> Sysfs doesn't allow two devices with the same name, but we register a
>> sysfs entry for each cuse device without checking for name collisions.
>> This extends the registration to first check whether the name was already
>> registered.
>>
>> To avoid race-conditions between the name-check and linking the device, we
>> need to protect the whole registration with a mutex.
>>
>> Signed-off-by: David Herrmann <dh.herrmann@...glemail.com>
>
> Acked-by: Tejun Heo <tj@...nel.org>
Thanks, David.
Queued both patches for next tree.
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists