commit | baebccbe997d5023289e0fc9b4d0d71c6fc17a79 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Fri Dec 12 09:49:04 2014 +0100 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Fri Dec 12 09:49:04 2014 +0100 |
tree | 19cb0ed831569c140cd82c8cf5bac413e4c92803 | |
parent | 580640ba5d331eb5631a5de46941c98f5ed90886 [diff] |
fuse: hold inode instead of path after release path_put() in release could trigger a DESTROY request in fuseblk. The possible deadlock was worked around by doing the path_put() with schedule_work(). This complexity isn't needed if we just hold the inode instead of the path. Since we now flush all requests before destroying the super block we can be sure that all held inodes will be dropped. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>