aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iget.c
diff options
context:
space:
mode:
authorDavid Chinner <david@fromorbit.com>2008-10-30 02:39:58 -0400
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 02:39:58 -0400
commit783a2f656f9674c31d4019708a94af93fa1d1c22 (patch)
tree7ac2123b187c0522dbd8a0d94de3856b33147c46 /fs/xfs/xfs_iget.c
parentfc1829f34d30899701dfd5890030d39e13e1f47d (diff)
[XFS] Finish removing the mount pointer from the AIL API
Change all the remaining AIL API functions that are passed struct xfs_mount pointers to pass pointers directly to the struct xfs_ail being used. With this conversion, all external access to the AIL is via the struct xfs_ail. Hence the operation and referencing of the AIL is almost entirely independent of the xfs_mount that is using it - it is now much more tightly tied to the log and the items it is tracking in the log than it is tied to the xfs_mount. SGI-PV: 988143 SGI-Modid: xfs-linux-melb:xfs-kern:32353a Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r--fs/xfs/xfs_iget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c
index 800133805ca1..a1f209b0596f 100644
--- a/fs/xfs/xfs_iget.c
+++ b/fs/xfs/xfs_iget.c
@@ -38,6 +38,8 @@
38#include "xfs_ialloc.h" 38#include "xfs_ialloc.h"
39#include "xfs_quota.h" 39#include "xfs_quota.h"
40#include "xfs_utils.h" 40#include "xfs_utils.h"
41#include "xfs_trans_priv.h"
42#include "xfs_inode_item.h"
41 43
42/* 44/*
43 * Check the validity of the inode we just found it the cache 45 * Check the validity of the inode we just found it the cache
@@ -616,7 +618,7 @@ xfs_iunlock(
616 * it is in the AIL and anyone is waiting on it. Don't do 618 * it is in the AIL and anyone is waiting on it. Don't do
617 * this if the caller has asked us not to. 619 * this if the caller has asked us not to.
618 */ 620 */
619 xfs_trans_unlocked_item(ip->i_mount, 621 xfs_trans_unlocked_item(ip->i_itemp->ili_item.li_ailp,
620 (xfs_log_item_t*)(ip->i_itemp)); 622 (xfs_log_item_t*)(ip->i_itemp));
621 } 623 }
622 xfs_ilock_trace(ip, 3, lock_flags, (inst_t *)__return_address); 624 xfs_ilock_trace(ip, 3, lock_flags, (inst_t *)__return_address);