diff options
author | J. Bruce Fields | 2019-08-15 22:18:26 +0200 |
---|---|---|
committer | J. Bruce Fields | 2019-08-15 22:24:07 +0200 |
commit | bebd6997163addc1938db8c61754a23ffdf8ccc4 (patch) | |
tree | ede74ed1ac2d974bc81c8cea70bbc2c38bd04694 /include/video/radeon.h | |
parent | nfsd: use i_wrlock instead of rcu for nfsdfs i_private (diff) | |
download | kernel-qcow2-linux-bebd6997163addc1938db8c61754a23ffdf8ccc4.tar.gz kernel-qcow2-linux-bebd6997163addc1938db8c61754a23ffdf8ccc4.tar.xz kernel-qcow2-linux-bebd6997163addc1938db8c61754a23ffdf8ccc4.zip |
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 'include/video/radeon.h')
0 files changed, 0 insertions, 0 deletions