switch follow_down()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2009-04-18 13:58:15 -04:00
parent 589ff870ed
commit 9393bd07cf
12 changed files with 29 additions and 33 deletions

View File

@@ -562,7 +562,7 @@ static int autofs_dev_ioctl_ismountpoint(struct file *fp,
err = have_submounts(path.dentry);
if (path.mnt->mnt_mountpoint != path.mnt->mnt_root) {
if (follow_down(&path.mnt, &path.dentry))
if (follow_down(&path))
magic = path.mnt->mnt_sb->s_magic;
}
}