diff options
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 723f01f59cb8..31035b76a26f 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -227,7 +227,7 @@ typedef struct xfs_mount { | |||
227 | xfs_ail_entry_t m_ail; /* fs active log item list */ | 227 | xfs_ail_entry_t m_ail; /* fs active log item list */ |
228 | uint m_ail_gen; /* fs AIL generation count */ | 228 | uint m_ail_gen; /* fs AIL generation count */ |
229 | xfs_sb_t m_sb; /* copy of fs superblock */ | 229 | xfs_sb_t m_sb; /* copy of fs superblock */ |
230 | lock_t m_sb_lock; /* sb counter mutex */ | 230 | spinlock_t m_sb_lock; /* sb counter lock */ |
231 | struct xfs_buf *m_sb_bp; /* buffer for superblock */ | 231 | struct xfs_buf *m_sb_bp; /* buffer for superblock */ |
232 | char *m_fsname; /* filesystem name */ | 232 | char *m_fsname; /* filesystem name */ |
233 | int m_fsname_len; /* strlen of fs name */ | 233 | int m_fsname_len; /* strlen of fs name */ |
@@ -503,8 +503,6 @@ typedef struct xfs_mod_sb { | |||
503 | 503 | ||
504 | #define XFS_MOUNT_ILOCK(mp) mutex_lock(&((mp)->m_ilock)) | 504 | #define XFS_MOUNT_ILOCK(mp) mutex_lock(&((mp)->m_ilock)) |
505 | #define XFS_MOUNT_IUNLOCK(mp) mutex_unlock(&((mp)->m_ilock)) | 505 | #define XFS_MOUNT_IUNLOCK(mp) mutex_unlock(&((mp)->m_ilock)) |
506 | #define XFS_SB_LOCK(mp) mutex_spinlock(&(mp)->m_sb_lock) | ||
507 | #define XFS_SB_UNLOCK(mp,s) mutex_spinunlock(&(mp)->m_sb_lock,(s)) | ||
508 | 506 | ||
509 | extern xfs_mount_t *xfs_mount_init(void); | 507 | extern xfs_mount_t *xfs_mount_init(void); |
510 | extern void xfs_mod_sb(xfs_trans_t *, __int64_t); | 508 | extern void xfs_mod_sb(xfs_trans_t *, __int64_t); |