diff options
author | David Chinner <david@fromorbit.com> | 2008-10-30 02:39:46 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 02:39:46 -0400 |
commit | fc1829f34d30899701dfd5890030d39e13e1f47d (patch) | |
tree | c2532c6a1070396e39000f36a5728f0f0940b24d /fs/xfs/xfs_trans.h | |
parent | a9c21c1b9deaced836034e77fe25fe0b55c21f02 (diff) |
[XFS] Add ail pointer into log items
Add an xfs_ail pointer to log items so that the log items can reference
the AIL directly during callbacks without needed a struct xfs_mount.
SGI-PV: 988143
SGI-Modid: xfs-linux-melb:xfs-kern:32352a
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_trans.h')
-rw-r--r-- | fs/xfs/xfs_trans.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h index ae2ae3e020d6..0df515477577 100644 --- a/fs/xfs/xfs_trans.h +++ b/fs/xfs/xfs_trans.h | |||
@@ -768,6 +768,7 @@ typedef struct xfs_log_item { | |||
768 | xfs_lsn_t li_lsn; /* last on-disk lsn */ | 768 | xfs_lsn_t li_lsn; /* last on-disk lsn */ |
769 | struct xfs_log_item_desc *li_desc; /* ptr to current desc*/ | 769 | struct xfs_log_item_desc *li_desc; /* ptr to current desc*/ |
770 | struct xfs_mount *li_mountp; /* ptr to fs mount */ | 770 | struct xfs_mount *li_mountp; /* ptr to fs mount */ |
771 | struct xfs_ail *li_ailp; /* ptr to AIL */ | ||
771 | uint li_type; /* item type */ | 772 | uint li_type; /* item type */ |
772 | uint li_flags; /* misc flags */ | 773 | uint li_flags; /* misc flags */ |
773 | struct xfs_log_item *li_bio_list; /* buffer item list */ | 774 | struct xfs_log_item *li_bio_list; /* buffer item list */ |