X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Ffs%2Fautofs4%2Froot.c;fp=kernel%2Ffs%2Fautofs4%2Froot.c;h=7a54c6a867c89cc819bb5c0768e75e7b84527259;hb=52f993b8e89487ec9ee15a7fb4979e0f09a45b27;hp=c6d7d3dbd52abfa9af11ea0fb7aab955e355bbc9;hpb=c189ccac5702322ed843fe17057035b7222a59b6;p=kvmfornfv.git diff --git a/kernel/fs/autofs4/root.c b/kernel/fs/autofs4/root.c index c6d7d3dbd..7a54c6a86 100644 --- a/kernel/fs/autofs4/root.c +++ b/kernel/fs/autofs4/root.c @@ -455,7 +455,7 @@ static int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) * a mount-trap. */ struct inode *inode; - if (ino->flags & (AUTOFS_INF_EXPIRING | AUTOFS_INF_NO_RCU)) + if (ino->flags & AUTOFS_INF_WANT_EXPIRE) return 0; if (d_mountpoint(dentry)) return 0;