patch-2.1.81 linux/fs/smbfs/dir.c
Next file: linux/fs/smbfs/file.c
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Wed Jan 21 10:09:31 1998
- Orig file:
v2.1.80/linux/fs/smbfs/dir.c
- Orig date:
Sun Jan 4 00:53:42 1998
diff -u --recursive --new-file v2.1.80/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -351,8 +351,6 @@
inode = smb_iget(dir->i_sb, &finfo);
if (inode)
{
- /* cache the dentry pointer */
- inode->u.smbfs_i.dentry = dentry;
add_entry:
dentry->d_op = &smbfs_dentry_operations;
d_add(dentry, inode);
@@ -372,8 +370,8 @@
{
struct smb_sb_info *server = server_from_dentry(dentry);
struct inode *inode;
- struct smb_fattr fattr;
int error;
+ struct smb_fattr fattr;
#ifdef SMBFS_DEBUG_VERBOSE
printk("smb_instantiate: file %s/%s, fileid=%u\n",
@@ -395,8 +393,6 @@
inode->u.smbfs_i.access = SMB_O_RDWR;
inode->u.smbfs_i.open = server->generation;
}
- /* cache the dentry pointer */
- inode->u.smbfs_i.dentry = dentry;
d_instantiate(dentry, inode);
out:
return error;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov