patch-2.3.31 linux/fs/ext2/inode.c
Next file: linux/fs/ncpfs/Config.in
Previous file: linux/fs/dcache.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Dec 7 10:01:57 1999
- Orig file:
v2.3.30/linux/fs/ext2/inode.c
- Orig date:
Tue Dec 7 09:32:47 1999
diff -u --recursive --new-file v2.3.30/linux/fs/ext2/inode.c linux/fs/ext2/inode.c
@@ -42,7 +42,8 @@
*/
void ext2_delete_inode (struct inode * inode)
{
- if (inode->i_ino == EXT2_ACL_IDX_INO ||
+ if (is_bad_inode(inode) ||
+ inode->i_ino == EXT2_ACL_IDX_INO ||
inode->i_ino == EXT2_ACL_DATA_INO)
return;
inode->u.ext2_i.i_dtime = CURRENT_TIME;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)