diff options
author | J. Bruce Fields <bfields@redhat.com> | 2019-08-15 16:18:26 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-08-15 16:24:07 -0400 |
commit | bebd6997163addc1938db8c61754a23ffdf8ccc4 (patch) | |
tree | ede74ed1ac2d974bc81c8cea70bbc2c38bd04694 /fs/nilfs2/inode.c | |
parent | dc46bba709cfb45e4b2d40cf45aaeacb82690504 (diff) | |
download | linux-bebd6997163addc1938db8c61754a23ffdf8ccc4.tar.bz2 |
nfsd: initialize i_private before d_add
A process could race in an open and attempt to read one of these files
before i_private is initialized, and get a spurious error.
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nilfs2/inode.c')
0 files changed, 0 insertions, 0 deletions