patch-2.4.0-test2 linux/fs/minix/bitmap.c
Next file: linux/fs/minix/namei.c
Previous file: linux/fs/lockd/svcsubs.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Wed Jun 21 07:25:17 2000
- Orig file:
v2.4.0-test1/linux/fs/minix/bitmap.c
- Orig date:
Sat Feb 26 22:31:53 2000
diff -u --recursive --new-file v2.4.0-test1/linux/fs/minix/bitmap.c linux/fs/minix/bitmap.c
@@ -205,24 +205,6 @@
struct buffer_head * bh;
unsigned long ino;
- if (!inode)
- return;
- if (!inode->i_dev) {
- printk("free_inode: inode has no device\n");
- return;
- }
- if (inode->i_count > 1) {
- printk("free_inode: inode has count=%d\n",inode->i_count);
- return;
- }
- if (inode->i_nlink) {
- printk("free_inode: inode has nlink=%d\n",inode->i_nlink);
- return;
- }
- if (!inode->i_sb) {
- printk("free_inode: inode on nonexistent device\n");
- return;
- }
if (inode->i_ino < 1 || inode->i_ino > inode->i_sb->u.minix_sb.s_ninodes) {
printk("free_inode: inode 0 or nonexistent inode\n");
return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)