diff options
Diffstat (limited to 'fs/autofs4')
-rw-r--r-- | fs/autofs4/root.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index 3a93d3552486..ebbfa0ce6d7b 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c | |||
@@ -444,6 +444,8 @@ int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) | |||
444 | 444 | ||
445 | /* The daemon never waits. */ | 445 | /* The daemon never waits. */ |
446 | if (autofs4_oz_mode(sbi)) { | 446 | if (autofs4_oz_mode(sbi)) { |
447 | if (rcu_walk) | ||
448 | return 0; | ||
447 | if (!d_mountpoint(dentry)) | 449 | if (!d_mountpoint(dentry)) |
448 | return -EISDIR; | 450 | return -EISDIR; |
449 | return 0; | 451 | return 0; |