patch-2.1.33 linux/fs/inode.c
Next file: linux/fs/isofs/inode.c
Previous file: linux/fs/Config.in
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Apr 7 14:17:10 1997
- Orig file:
v2.1.32/linux/fs/inode.c
- Orig date:
Thu Mar 27 14:40:06 1997
diff -u --recursive --new-file v2.1.32/linux/fs/inode.c linux/fs/inode.c
@@ -173,6 +173,7 @@
{
struct wait_queue * wait;
+ inode->i_count++;
truncate_inode_pages(inode, 0);
wait_on_inode(inode);
if (IS_WRITABLE(inode)) {
@@ -182,6 +183,7 @@
remove_inode_hash(inode);
remove_inode_free(inode);
wait = ((volatile struct inode *) inode)->i_wait;
+ inode->i_count--;
if (inode->i_count)
nr_free_inodes++;
memset(inode,0,sizeof(*inode));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov