patch-2.1.79 linux/fs/sysv/namei.c
Next file: linux/include/asm-alpha/apecs.h
Previous file: linux/fs/sysv/inode.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Jan 6 09:48:04 1998
- Orig file:
v2.1.78/linux/fs/sysv/namei.c
- Orig date:
Sun Dec 21 22:36:16 1997
diff -u --recursive --new-file v2.1.78/linux/fs/sysv/namei.c linux/fs/sysv/namei.c
@@ -571,9 +571,10 @@
return 0;
}
-int sysv_link(struct inode * oldinode, struct inode * dir,
+int sysv_link(struct dentry * old_dentry, struct inode * dir,
struct dentry * dentry)
{
+ struct inode *oldinode = old_dentry->d_inode;
int error;
struct sysv_dir_entry * de;
struct buffer_head * bh;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov