diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-01-04 16:03:48 +0000 |
commit | 78c388aed2b7184182c08428db1de6c872d815f5 (patch) | |
tree | 4b2003b1b4ceb241a17faa995da8dd1004bb8e45 /fs/autofs/symlink.c | |
parent | eb7a5bf93aaa4be1d7c6181100ab7639e74d67f7 (diff) |
Merge with Linux 2.1.131 and more MIPS goodies.
(Did I mention that CVS is buggy ...)
Diffstat (limited to 'fs/autofs/symlink.c')
-rw-r--r-- | fs/autofs/symlink.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/autofs/symlink.c b/fs/autofs/symlink.c index 5c5550f91..a4cb5154f 100644 --- a/fs/autofs/symlink.c +++ b/fs/autofs/symlink.c @@ -2,7 +2,7 @@ * * linux/fs/autofs/symlink.c * - * Copyright 1997 Transmeta Corporation -- All Rights Reserved + * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved * * This file is part of the Linux kernel and is made available under * the terms of the GNU General Public License, version 2, or at your @@ -27,12 +27,13 @@ static int autofs_readlink(struct dentry *dentry, char *buffer, int buflen) } static struct dentry * autofs_follow_link(struct dentry *dentry, - struct dentry *base) + struct dentry *base, + unsigned int follow) { struct autofs_symlink *sl; sl = (struct autofs_symlink *)dentry->d_inode->u.generic_ip; - return lookup_dentry(sl->data, base, 1); + return lookup_dentry(sl->data, base, follow); } struct inode_operations autofs_symlink_inode_operations = { |