patch-2.1.79 linux/fs/minix/namei.c

Next file: linux/fs/namei.c
Previous file: linux/fs/hfs/version.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/fs/minix/namei.c linux/fs/minix/namei.c
@@ -562,10 +562,11 @@
 	return 0;
 }
 
-int minix_link(struct inode * inode, struct inode * dir,
+int minix_link(struct dentry * old_dentry, struct inode * dir,
 	       struct dentry *dentry)
 {
 	int error;
+	struct inode *inode = old_dentry->d_inode;
 	struct minix_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