patch-2.1.123 linux/fs/ufs/symlink.c
Next file: linux/fs/umsdos/dir.c
Previous file: linux/fs/sysv/symlink.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Sep 19 13:46:01 1998
- Orig file:
v2.1.122/linux/fs/ufs/symlink.c
- Orig date:
Sat Sep 5 16:46:41 1998
diff -u --recursive --new-file v2.1.122/linux/fs/ufs/symlink.c linux/fs/ufs/symlink.c
@@ -43,7 +43,7 @@
static struct dentry * ufs_follow_link(struct dentry * dentry,
- struct dentry * base)
+ struct dentry * base, unsigned int follow)
{
struct inode * inode;
struct buffer_head * bh;
@@ -67,7 +67,7 @@
link = (char *) inode->u.ufs_i.i_u1.i_symlink;
}
UPDATE_ATIME(inode);
- base = lookup_dentry(link, base, 1);
+ base = lookup_dentry(link, base, follow);
if (bh)
brelse(bh);
UFSD(("EXIT\n"))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov