diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-04-26 10:49:16 +0200 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-04-26 10:49:16 +0200 |
commit | 8aa09a50b5d9dbdf627f79e19d72d82994348089 (patch) | |
tree | 5b50a1b62c8b95223023053595c452b0641f5767 /include | |
parent | 6dbbcb120570d747b00783820ee02d1e1bcf63de (diff) |
[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: Miklos Szeredi <miklos@szeredi.hu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions