summary refs log tree commit diff
path: root/fs/afs/super.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-12-12 09:49:04 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2014-12-12 09:49:04 +0100
commitbaebccbe997d5023289e0fc9b4d0d71c6fc17a79 (patch)
tree19cb0ed831569c140cd82c8cf5bac413e4c92803 /fs/afs/super.c
parent580640ba5d331eb5631a5de46941c98f5ed90886 (diff)
downloadlinux-baebccbe997d5023289e0fc9b4d0d71c6fc17a79.tar.gz
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>
Diffstat (limited to 'fs/afs/super.c')
0 files changed, 0 insertions, 0 deletions