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

[fuse] fix race between checking and setting file->private_data



BKL does not protect against races if the task may sleep between
checking and setting a value.  So move checking of file->private_data
near to setting it in fuse_fill_super().

Found by Al Viro.

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