patch-2.3.99-pre9 linux/fs/hpfs/namei.c
Next file: linux/fs/inode.c
Previous file: linux/fs/hfs/part_tbl.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sat May 20 10:55:27 2000
- Orig file:
v2.3.99-pre8/linux/fs/hpfs/namei.c
- Orig date:
Thu May 11 15:30:08 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/fs/hpfs/namei.c linux/fs/hpfs/namei.c
@@ -326,7 +326,6 @@
if (r != 2) {
inode->i_nlink--;
hpfs_unlock_2inodes(dir, inode);
- d_delete(dentry);
} else { /* no space for deleting, try to truncate file */
struct iattr newattrs;
int err;
@@ -388,7 +387,6 @@
dir->i_nlink--;
inode->i_nlink = 0;
hpfs_unlock_2inodes(dir, inode);
- d_delete(dentry);
} else hpfs_unlock_2inodes(dir, inode);
return r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)