diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2012-08-30 21:24:35 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2012-08-30 21:24:35 +0400 |
commit | 8d39d801d64658d7d69e4754f287a71e9f9bbcb8 (patch) | |
tree | 22550a9179212937352ab45763c41aa8119f18fc /fs/fuse/control.c | |
parent | bbd99797973f2cebd905bf6469ce08b531ab258f (diff) | |
download | linux-8d39d801d64658d7d69e4754f287a71e9f9bbcb8.tar.xz |
cuse: kill connection on initialization error
Luca Risolia reported that a CUSE daemon will continue to run even if
initialization of the emulated device failes for some reason (e.g. the device
number is already registered by another driver).
This patch disconnects the fuse device on error, which will make the userspace
CUSE daemon exit, albeit without indication about what the problem was.
Reported-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/control.c')
0 files changed, 0 insertions, 0 deletions