diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2011-02-25 14:44:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-21 12:45:24 -0700 |
commit | 5c46eb076e0a1b2c1769287cd6942e4594ade1b1 (patch) | |
tree | 1fb646ff1636d1e1b5fef48e673dd7ead255f71e /security/security.c | |
parent | 4389b6188647b4dbc84d54bbc467ddf966dcb837 (diff) |
fuse: fix hang of single threaded fuseblk filesystem
commit 5a18ec176c934ca1bc9dc61580a5e0e90a9b5733 upstream.
Single threaded NTFS-3G could get stuck if a delayed RELEASE reply
triggered a DESTROY request via path_put().
Fix this by
a) making RELEASE requests synchronous, whenever possible, on fuseblk
filesystems
b) if not possible (triggered by an asynchronous read/write) then do
the path_put() in a separate thread with schedule_work().
Reported-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions