aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-08-08 17:19:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 18:57:19 -0400
commitc312442fe3ce9561137910db35ad1409d67dbac6 (patch)
tree49c273af24914fe5ab9763d0e99c650f464d033a /fs/autofs4
parent26b7a54a35cbb2c1b980b339cc1d600edd5f153d (diff)
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 b5b801779d59 ("autofs4: Add d_manage() dentry operation"). Signed-off-by: NeilBrown <neilb@suse.de> Acked-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4')
-rw-r--r--fs/autofs4/expire.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/autofs4/expire.c b/fs/autofs4/expire.c
index 394e90b02c5e..a7be57e39be7 100644
--- a/fs/autofs4/expire.c
+++ b/fs/autofs4/expire.c
@@ -333,7 +333,6 @@ struct dentry *autofs4_expire_direct(struct super_block *sb,
333 if (ino->flags & AUTOFS_INF_PENDING) 333 if (ino->flags & AUTOFS_INF_PENDING)
334 goto out; 334 goto out;
335 if (!autofs4_direct_busy(mnt, root, timeout, do_now)) { 335 if (!autofs4_direct_busy(mnt, root, timeout, do_now)) {
336 struct autofs_info *ino = autofs4_dentry_ino(root);
337 ino->flags |= AUTOFS_INF_EXPIRING; 336 ino->flags |= AUTOFS_INF_EXPIRING;
338 init_completion(&ino->expire_complete); 337 init_completion(&ino->expire_complete);
339 spin_unlock(&sbi->fs_lock); 338 spin_unlock(&sbi->fs_lock);