diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-04-26 12:49:16 +0400 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-04-26 12:49:16 +0400 |
commit | 8aa09a50b5d9dbdf627f79e19d72d82994348089 (patch) | |
tree | 5b50a1b62c8b95223023053595c452b0641f5767 /fs/fifo.c | |
parent | 6dbbcb120570d747b00783820ee02d1e1bcf63de (diff) | |
download | linux-8aa09a50b5d9dbdf627f79e19d72d82994348089.tar.xz |
[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 'fs/fifo.c')
0 files changed, 0 insertions, 0 deletions