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

Revert "[fuse] fix deadlock between fuse_put_super() and request_end()"

This reverts 73ce8355

 commit.

It was wrong, because it didn't take into account the requirement,
that iput() for background requests must be performed synchronously
with ->put_super(), otherwise active inodes may remain after unmount.

The right solution is to keep the sbput_sem and perform iput() within
the locked region, but move fput() outside sbput_sem.

Signed-off-by: default avatarMiklos Szeredi <miklos@szeredi.hu>
parent 4d5c34ec
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