Commit 5fc79d85 authored by Dan Carpenter's avatar Dan Carpenter Committed by Linus Torvalds
Browse files

autofs4: remove unneeded null check in try_to_fill_dentry()

After 97e7449a

: "autofs4: fix indirect mount pending expire race" we no
longer assumed that "ino" can be null.  The other null checks got removed
but this was one was missed.
Signed-off-by: default avatarDan Carpenter <>
Cc: Ian Kent <>
Cc: Al Viro <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 89596f20
......@@ -204,8 +204,7 @@ static int try_to_fill_dentry(struct dentry *dentry, int flags)
/* Initialize expiry counter after successful mount */
if (ino)
ino->last_used = jiffies;
ino->last_used = jiffies;
ino->flags &= ~AUTOFS_INF_PENDING;
Markdown is supported
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