linux/fs/fuse
David Herrmann 30783587b0 cuse: do not register multiple devices with identical names
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@googlemail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2013-01-17 13:04:57 +01:00
..
control.c fuse: mark variables uninitialized 2012-09-03 17:44:06 +02:00
cuse.c cuse: do not register multiple devices with identical names 2013-01-17 13:04:57 +01:00
dev.c userns: Support fuse interacting with multiple user namespaces 2012-11-14 22:05:33 -08:00
dir.c userns: Support fuse interacting with multiple user namespaces 2012-11-14 22:05:33 -08:00
file.c lseek: the "whence" argument is called "whence" 2012-12-17 17:15:12 -08:00
fuse_i.h userns: Support fuse interacting with multiple user namespaces 2012-11-14 22:05:33 -08:00
inode.c userns: Support fuse interacting with multiple user namespaces 2012-11-14 22:05:33 -08:00
Kconfig
Makefile