From: Miklos Szeredi Date: Fri, 25 Feb 2011 13:44:58 +0000 (+0100) Subject: fuse: fix hang of single threaded fuseblk filesystem X-Git-Tag: v2.6.37.3~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca3edc920f5fd7d8ac040caaf109f925c24620a0;p=pandora-kernel.git 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 Signed-off-by: Miklos Szeredi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed