git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
fs
/
freevxfs
/
vxfs_inode.c
diff --git
a/fs/freevxfs/vxfs_inode.c
b/fs/freevxfs/vxfs_inode.c
index
f4b891e
..
9672d2f
100644
(file)
--- a/
fs/freevxfs/vxfs_inode.c
+++ b/
fs/freevxfs/vxfs_inode.c
@@
-337,16
+337,15
@@
vxfs_read_inode(struct inode *ip)
}
/**
}
/**
- * vxfs_
put
_inode - remove inode from main memory
+ * vxfs_
clear
_inode - remove inode from main memory
* @ip: inode to discard.
*
* Description:
* @ip: inode to discard.
*
* Description:
- * vxfs_
put_inode() is called on each iput. If we are the last
- *
link in memory, free the fspriv
inode area.
+ * vxfs_
clear_inode() is called on the final iput and frees the private
+ * inode area.
*/
void
*/
void
-vxfs_
put
_inode(struct inode *ip)
+vxfs_
clear
_inode(struct inode *ip)
{
{
- if (atomic_read(&ip->i_count) == 1)
- kmem_cache_free(vxfs_inode_cachep, ip->u.generic_ip);
+ kmem_cache_free(vxfs_inode_cachep, ip->u.generic_ip);
}
}