Skip to content
Commit baebccbe authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 580640ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment