commit | 508c8772760d4ef9c1a044519b564710c3684fc5 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 14 22:09:57 2020 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Jan 15 01:36:46 2020 -0500 |
tree | 0a631ad4a9b355104f8b4951c462e454d4ddae3a | |
parent | c64cd6e34ea340adbb2a0a2f99cc884b96dcdca5 [diff] |
fix autofs regression caused by follow_managed() changes we need to reload ->d_flags after the call of ->d_manage() - the thing might've been called with dentry still negative and have the damn thing turned positive while we'd waited. Fixes: d41efb522e90 "fs/namei.c: pull positivity check into follow_managed()" Reported-by: Ian Kent <raven@themaw.net> Tested-by: Ian Kent <raven@themaw.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>