patch-2.1.123 linux/fs/umsdos/symlink.c
Next file: linux/include/linux/console.h
Previous file: linux/fs/umsdos/rdir.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sat Sep 19 13:46:28 1998
- Orig file:
v2.1.122/linux/fs/umsdos/symlink.c
- Orig date:
Thu Sep 17 17:53:38 1998
diff -u --recursive --new-file v2.1.122/linux/fs/umsdos/symlink.c linux/fs/umsdos/symlink.c
@@ -64,7 +64,8 @@
/* this one mostly stolen from romfs :) */
static struct dentry *UMSDOS_followlink (struct dentry *dentry,
- struct dentry *base)
+ struct dentry *base,
+ unsigned int follow)
{
struct inode *inode = dentry->d_inode;
char *symname;
@@ -91,7 +92,7 @@
}
symname[len] = 0;
- dentry = lookup_dentry (symname, base, 1);
+ dentry = lookup_dentry (symname, base, follow);
kfree (symname);
if (0) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov