Commit 37d0892c5a94e208cf863e3b7bac014edee4346d

Authored by Ian Kent
Committed by Linus Torvalds
1 parent cda9856f1c

autofs4 - fix missed case when changing to use struct path

In the recent change by Al Viro that changes verious subsystems
to use "struct path" one case was missed in the autofs4 module
which causes mounts to no longer expire.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -77,7 +77,7 @@
77 77 }
78 78  
79 79 /* Update the expiry counter if fs is busy */
80   - if (!may_umount_tree(mnt)) {
  80 + if (!may_umount_tree(path.mnt)) {
81 81 struct autofs_info *ino = autofs4_dentry_ino(top);
82 82 ino->last_used = jiffies;
83 83 goto done;