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

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