git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbbcb1
)
[fuse] fix race between checking and setting file->private_data
author
Miklos Szeredi
<miklos@szeredi.hu>
Wed, 26 Apr 2006 08:49:16 +0000
(10:49 +0200)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Wed, 26 Apr 2006 08:49:16 +0000
(10:49 +0200)
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>
No differences found