diff options
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
-rw-r--r-- | fs/xfs/xfs_trans_priv.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_trans_priv.h b/fs/xfs/xfs_trans_priv.h index 708cff72d209..6ca0a7a7e3df 100644 --- a/fs/xfs/xfs_trans_priv.h +++ b/fs/xfs/xfs_trans_priv.h | |||
@@ -79,6 +79,7 @@ struct xfs_ail { | |||
79 | struct task_struct *xa_task; | 79 | struct task_struct *xa_task; |
80 | xfs_lsn_t xa_target; | 80 | xfs_lsn_t xa_target; |
81 | struct xfs_ail_cursor xa_cursors; | 81 | struct xfs_ail_cursor xa_cursors; |
82 | spinlock_t xa_lock; | ||
82 | }; | 83 | }; |
83 | 84 | ||
84 | /* | 85 | /* |
@@ -114,9 +115,9 @@ xfs_trans_ail_copy_lsn( | |||
114 | xfs_lsn_t *src) | 115 | xfs_lsn_t *src) |
115 | { | 116 | { |
116 | ASSERT(sizeof(xfs_lsn_t) == 8); /* don't lock if it shrinks */ | 117 | ASSERT(sizeof(xfs_lsn_t) == 8); /* don't lock if it shrinks */ |
117 | spin_lock(&ailp->xa_mount->m_ail_lock); | 118 | spin_lock(&ailp->xa_lock); |
118 | *dst = *src; | 119 | *dst = *src; |
119 | spin_unlock(&ailp->xa_mount->m_ail_lock); | 120 | spin_unlock(&ailp->xa_lock); |
120 | } | 121 | } |
121 | #else | 122 | #else |
122 | static inline void | 123 | static inline void |