Skip to content
Commit bebd6997 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent dc46bba7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment