patch-2.1.78 linux/fs/ext2/namei.c

Next file: linux/fs/ext2/symlink.c
Previous file: linux/fs/ext2/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.77/linux/fs/ext2/namei.c linux/fs/ext2/namei.c
@@ -793,8 +793,10 @@
 	goto out;
 }
 
-int ext2_link (struct inode * inode, struct inode * dir, struct dentry *dentry)
+int ext2_link (struct dentry * old_dentry,
+		struct inode * dir, struct dentry *dentry)
 {
+	struct inode *inode = old_dentry->d_inode;
 	struct ext2_dir_entry * de;
 	struct buffer_head * bh;
 	int err;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov