patch-2.1.47 linux/fs/minix/bitmap.c
Next file: linux/fs/minix/dir.c
Previous file: linux/fs/lockd/svcsubs.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Jul 23 13:02:08 1997
- Orig file:
v2.1.46/linux/fs/minix/bitmap.c
- Orig date:
Thu Jul 17 10:06:07 1997
diff -u --recursive --new-file v2.1.46/linux/fs/minix/bitmap.c linux/fs/minix/bitmap.c
@@ -191,7 +191,7 @@
printk("free_inode: inode has no device\n");
return;
}
- if (inode->i_count != 1) {
+ if (inode->i_count > 1) {
printk("free_inode: inode has count=%d\n",inode->i_count);
return;
}
@@ -251,7 +251,6 @@
iput(inode);
return NULL;
}
- inode->i_count = 1;
inode->i_nlink = 1;
inode->i_dev = sb->s_dev;
inode->i_uid = current->fsuid;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov