commit | 8aa09a50b5d9dbdf627f79e19d72d82994348089 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <miklos@szeredi.hu> | Wed Apr 26 10:49:16 2006 +0200 |
committer | Miklos Szeredi <miklos@szeredi.hu> | Wed Apr 26 10:49:16 2006 +0200 |
tree | 5b50a1b62c8b95223023053595c452b0641f5767 | |
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>