autofs_lookup(): hold ->d_lock over playing with ->d_flags
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 Jul 2019 14:03:14 +0000 (10:03 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 Jul 2019 14:03:14 +0000 (10:03 -0400)
commit5f68056ca50fdd3954a93ae66fea7452abddb66f
tree5e8cda90d34d2589612f16c2aa88319ec31a2a19
parentc4931db9b08c18005fb21ab201e7137ba0547df5
autofs_lookup(): hold ->d_lock over playing with ->d_flags

... as well as setting ->d_fsdata, etc.  Make all of that
atomic.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs/root.c