Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c312442f authored by NeilBrown's avatar NeilBrown Committed by Linus Torvalds
Browse files

autofs4: remove a redundant assignment



The variable 'ino' already exists and already has the correct value.
The d_fsdata of a dentry is never changed after the d_fsdata is
instantiated, so this new assignment cannot be necessary.

It was introduced in commit b5b80177 ("autofs4: Add d_manage()
dentry operation").

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
Acked-by: default avatarIan Kent <raven@themaw.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 26b7a54a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -333,7 +333,6 @@ struct dentry *autofs4_expire_direct(struct super_block *sb,
	if (ino->flags & AUTOFS_INF_PENDING)
		goto out;
	if (!autofs4_direct_busy(mnt, root, timeout, do_now)) {
		struct autofs_info *ino = autofs4_dentry_ino(root);
		ino->flags |= AUTOFS_INF_EXPIRING;
		init_completion(&ino->expire_complete);
		spin_unlock(&sbi->fs_lock);