diff options
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 08b2e0a5d807..cd3cf9613a00 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -308,7 +308,6 @@ typedef struct xfs_mount { | |||
308 | xfs_buftarg_t *m_ddev_targp; /* saves taking the address */ | 308 | xfs_buftarg_t *m_ddev_targp; /* saves taking the address */ |
309 | xfs_buftarg_t *m_logdev_targp;/* ptr to log device */ | 309 | xfs_buftarg_t *m_logdev_targp;/* ptr to log device */ |
310 | xfs_buftarg_t *m_rtdev_targp; /* ptr to rt device */ | 310 | xfs_buftarg_t *m_rtdev_targp; /* ptr to rt device */ |
311 | #define m_dev m_ddev_targp->pbr_dev | ||
312 | __uint8_t m_dircook_elog; /* log d-cookie entry bits */ | 311 | __uint8_t m_dircook_elog; /* log d-cookie entry bits */ |
313 | __uint8_t m_blkbit_log; /* blocklog + NBBY */ | 312 | __uint8_t m_blkbit_log; /* blocklog + NBBY */ |
314 | __uint8_t m_blkbb_log; /* blocklog - BBSHIFT */ | 313 | __uint8_t m_blkbb_log; /* blocklog - BBSHIFT */ |
@@ -393,7 +392,7 @@ typedef struct xfs_mount { | |||
393 | user */ | 392 | user */ |
394 | #define XFS_MOUNT_NOALIGN (1ULL << 7) /* turn off stripe alignment | 393 | #define XFS_MOUNT_NOALIGN (1ULL << 7) /* turn off stripe alignment |
395 | allocations */ | 394 | allocations */ |
396 | #define XFS_MOUNT_COMPAT_ATTR (1ULL << 8) /* do not use attr2 format */ | 395 | #define XFS_MOUNT_ATTR2 (1ULL << 8) /* allow use of attr2 format */ |
397 | /* (1ULL << 9) -- currently unused */ | 396 | /* (1ULL << 9) -- currently unused */ |
398 | #define XFS_MOUNT_NORECOVERY (1ULL << 10) /* no recovery - dirty fs */ | 397 | #define XFS_MOUNT_NORECOVERY (1ULL << 10) /* no recovery - dirty fs */ |
399 | #define XFS_MOUNT_SHARED (1ULL << 11) /* shared mount */ | 398 | #define XFS_MOUNT_SHARED (1ULL << 11) /* shared mount */ |
@@ -533,7 +532,7 @@ typedef struct xfs_mod_sb { | |||
533 | int msb_delta; /* Change to make to specified field */ | 532 | int msb_delta; /* Change to make to specified field */ |
534 | } xfs_mod_sb_t; | 533 | } xfs_mod_sb_t; |
535 | 534 | ||
536 | #define XFS_MOUNT_ILOCK(mp) mutex_lock(&((mp)->m_ilock), PINOD) | 535 | #define XFS_MOUNT_ILOCK(mp) mutex_lock(&((mp)->m_ilock)) |
537 | #define XFS_MOUNT_IUNLOCK(mp) mutex_unlock(&((mp)->m_ilock)) | 536 | #define XFS_MOUNT_IUNLOCK(mp) mutex_unlock(&((mp)->m_ilock)) |
538 | #define XFS_SB_LOCK(mp) mutex_spinlock(&(mp)->m_sb_lock) | 537 | #define XFS_SB_LOCK(mp) mutex_spinlock(&(mp)->m_sb_lock) |
539 | #define XFS_SB_UNLOCK(mp,s) mutex_spinunlock(&(mp)->m_sb_lock,(s)) | 538 | #define XFS_SB_UNLOCK(mp,s) mutex_spinunlock(&(mp)->m_sb_lock,(s)) |