Change how iput and vn_rele are glued together, we need to ensure that all
iput calls get directed through vn_rele do we can do inactive processing
correctly. Previously vn_rele called iput, but calls to iput from outside
XFS would bypass the vn_rele code, and hence not hit xfs_inactive when the
count reached zero.
We now have VN_RELE calls vn_put - which calls iput, linvfs_put_inode
which is called out of iput will call vn_rele.
Date: Fri Jul 14 14:35:08 PDT 2000
Workarea: 192.82.201.102:/usr/src/2.4.0-test1
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs
Modid: 2.4.0-test1-xfs:slinx:66890a
linux/fs/xfs/pseudo-inc/sys/vnode.h - 1.27
- Make VN_RELE call vn_put instead of vn_rele - it ends up in vn_rele
via iput
linux/fs/xfs/linux/xfs_vnode.c - 1.33
- No longer call vn_put out of vn_rele as vn_rele is now called via iput
linux/fs/xfs/linux/xfs_super.c - 1.74
- linvfs_put_inode now calls vn_rele.
|