Messages in this thread Patch in this message | | | From | Andreas Schwab <> | Date | Mon, 30 Jun 97 11:00:08 +0200 | Subject | minix_free_inode in 2.1.44-pre3 |
| |
Apparently the free_inode function can now be called with i_count == 0, but minix_free_inode requires i_count == 1. This should probably be relaxed to i_count <= 1, to be consistent with ext2_free_inode.
--- fs/minix/bitmap.c.~3~ Wed Jun 18 18:52:07 1997 +++ fs/minix/bitmap.c Thu Jun 19 08:16:09 1997 @@ -195,7 +195,7 @@ printk("free_inode: inode has no device\n"); return; } - if (atomic_read(&inode->i_count) != 1) { + if (atomic_read(&inode->i_count) > 1) { printk("free_inode: inode has count=%d\n",atomic_read(&inode->i_count)); return; } -- Andreas Schwab "And now for something schwab@issan.informatik.uni-dortmund.de completely different"
| |