lkml.org 
[lkml]   [1997]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subjectminix_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"

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.034 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site