patch-2.1.78 linux/fs/ufs/ufs_symlink.c
Next file: linux/include/linux/cdrom.h
Previous file: linux/fs/sysv/symlink.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sun Jan 4 00:53:41 1998
- Orig file:
v2.1.77/linux/fs/ufs/ufs_symlink.c
- Orig date:
Wed Dec 10 11:12:45 1997
diff -u --recursive --new-file v2.1.77/linux/fs/ufs/ufs_symlink.c linux/fs/ufs/ufs_symlink.c
@@ -19,8 +19,9 @@
extern int ufs_bmap (struct inode *, int);
static int
-ufs_readlink(struct inode * inode, char * buffer, int buflen)
+ufs_readlink(struct dentry * dentry, char * buffer, int buflen)
{
+ struct inode * inode = dentry->d_inode;
unsigned long int block;
struct buffer_head * bh = NULL;
char * link;
@@ -71,8 +72,9 @@
* XXX - blatantly stolen from minix fs
*/
static struct dentry *
-ufs_follow_link(struct inode * inode, struct dentry * base)
+ufs_follow_link(struct dentry * dentry, struct dentry * base)
{
+ struct inode * inode = dentry->d_inode;
unsigned long int block;
struct buffer_head * bh = NULL;
char * link;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov