We very often enter delete_inode (when cleaning) on an inode that
doesn't really exist. So only print a message if this is a real
inode needing to be deleted.
{
struct fs *fs = fs_from_inode(ino);
struct datablock *b;
- dprintk("DELETE INODE %d\n", (int)ino->i_ino);
if (ino->i_mode == 0) {
/* There never was an inode here,
clear_inode(ino);
return;
}
+ dprintk("DELETE INODE %d\n", (int)ino->i_ino);
spin_lock(&ino->i_data.private_lock);
b = LAFSI(ino)->dblock;
if (b)