From 78c388aed2b7184182c08428db1de6c872d815f5 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 4 Jan 1999 16:03:48 +0000 Subject: Merge with Linux 2.1.131 and more MIPS goodies. (Did I mention that CVS is buggy ...) --- fs/isofs/symlink.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fs/isofs/symlink.c') diff --git a/fs/isofs/symlink.c b/fs/isofs/symlink.c index c85510b53..0f909c428 100644 --- a/fs/isofs/symlink.c +++ b/fs/isofs/symlink.c @@ -19,7 +19,7 @@ #include static int isofs_readlink(struct dentry *, char *, int); -static struct dentry * isofs_follow_link(struct dentry *, struct dentry *); +static struct dentry * isofs_follow_link(struct dentry *, struct dentry *, unsigned int); /* * symlinks can't do much... @@ -66,7 +66,8 @@ static int isofs_readlink(struct dentry * dentry, char * buffer, int buflen) } static struct dentry * isofs_follow_link(struct dentry * dentry, - struct dentry *base) + struct dentry *base, + unsigned int follow) { char * pnt; @@ -76,7 +77,7 @@ static struct dentry * isofs_follow_link(struct dentry * dentry, return ERR_PTR(-ELOOP); } - base = lookup_dentry(pnt, base, 1); + base = lookup_dentry(pnt, base, follow); kfree(pnt); return base; -- cgit v1.2.3