diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /fs/isofs/symlink.c | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'fs/isofs/symlink.c')
-rw-r--r-- | fs/isofs/symlink.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/isofs/symlink.c b/fs/isofs/symlink.c index 5321e011a..fe4abb987 100644 --- a/fs/isofs/symlink.c +++ b/fs/isofs/symlink.c @@ -18,8 +18,8 @@ #include <asm/uaccess.h> -static int isofs_readlink(struct inode *, char *, int); -static struct dentry * isofs_follow_link(struct inode * inode, struct dentry *base); +static int isofs_readlink(struct dentry *, char *, int); +static struct dentry * isofs_follow_link(struct dentry *, struct dentry *); /* * symlinks can't do much... @@ -44,14 +44,14 @@ struct inode_operations isofs_symlink_inode_operations = { NULL /* permission */ }; -static int isofs_readlink(struct inode * inode, char * buffer, int buflen) +static int isofs_readlink(struct dentry * dentry, char * buffer, int buflen) { char * pnt; int i; if (buflen > 1023) buflen = 1023; - pnt = get_rock_ridge_symlink(inode); + pnt = get_rock_ridge_symlink(dentry->d_inode); if (!pnt) return 0; @@ -65,12 +65,12 @@ static int isofs_readlink(struct inode * inode, char * buffer, int buflen) return i; } -static struct dentry * isofs_follow_link(struct inode * inode, struct dentry *base) +static struct dentry * isofs_follow_link(struct dentry * dentry, + struct dentry *base) { char * pnt; - pnt = get_rock_ridge_symlink(inode); - + pnt = get_rock_ridge_symlink(dentry->d_inode); if(!pnt) { dput(base); return ERR_PTR(-ELOOP); |