Re: [PATCH] cuse: do not register multiple devices with the same name

2012-11-13 Thread David Herrmann
Hi Tejun On Mon, Nov 12, 2012 at 7:33 PM, Tejun Heo wrote: > Hello, David. > > On Mon, Nov 12, 2012 at 05:15:48PM +0100, David Herrmann wrote: >> We do not check whether we already registered a CUSE device with a given >> name so we might end up with two devices with the same name. Sysfs will >>

Re: [PATCH] cuse: do not register multiple devices with the same name

2012-11-13 Thread David Herrmann
Hi Tejun On Mon, Nov 12, 2012 at 7:33 PM, Tejun Heo t...@kernel.org wrote: Hello, David. On Mon, Nov 12, 2012 at 05:15:48PM +0100, David Herrmann wrote: We do not check whether we already registered a CUSE device with a given name so we might end up with two devices with the same name. Sysfs

Re: [PATCH] cuse: do not register multiple devices with the same name

2012-11-12 Thread Tejun Heo
Hello, David. On Mon, Nov 12, 2012 at 05:15:48PM +0100, David Herrmann wrote: > We do not check whether we already registered a CUSE device with a given > name so we might end up with two devices with the same name. Sysfs will > then complain as it cannot create suitable directories. > > This

[PATCH] cuse: do not register multiple devices with the same name

2012-11-12 Thread David Herrmann
We do not check whether we already registered a CUSE device with a given name so we might end up with two devices with the same name. Sysfs will then complain as it cannot create suitable directories. This patch makes the init-command fail if there is already a device with the given name. To

[PATCH] cuse: do not register multiple devices with the same name

2012-11-12 Thread David Herrmann
We do not check whether we already registered a CUSE device with a given name so we might end up with two devices with the same name. Sysfs will then complain as it cannot create suitable directories. This patch makes the init-command fail if there is already a device with the given name. To

Re: [PATCH] cuse: do not register multiple devices with the same name

2012-11-12 Thread Tejun Heo
Hello, David. On Mon, Nov 12, 2012 at 05:15:48PM +0100, David Herrmann wrote: We do not check whether we already registered a CUSE device with a given name so we might end up with two devices with the same name. Sysfs will then complain as it cannot create suitable directories. This patch