* [PATCH] autofs4 - fix missed case when changing to use struct path
@ 2009-09-01 3:26 Ian Kent
0 siblings, 0 replies; only message in thread
From: Ian Kent @ 2009-09-01 3:26 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton
Cc: autofs mailing list, linux-fsdevel, Kernel Mailing List, Al Viro,
aaron, stefan
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>
---
fs/autofs4/expire.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/autofs4/expire.c b/fs/autofs4/expire.c
index aa39ae8..3da18d4 100644
--- a/fs/autofs4/expire.c
+++ b/fs/autofs4/expire.c
@@ -77,7 +77,7 @@ static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry)
}
/* Update the expiry counter if fs is busy */
- if (!may_umount_tree(mnt)) {
+ if (!may_umount_tree(path.mnt)) {
struct autofs_info *ino = autofs4_dentry_ino(top);
ino->last_used = jiffies;
goto done;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-01 3:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 3:26 [PATCH] autofs4 - fix missed case when changing to use struct path Ian Kent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).