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
- Lines: 12
- Date:
Sun Jan 4 00:53:41 1998
- Orig file:
v2.1.77/linux/fs/ext2/namei.c
- Orig date:
Sat Nov 29 11:25:12 1997
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