aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r--fs/xfs/xfs_mount.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index 8b89c5ac72d9..47c6b3b3eb9c 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -176,7 +176,6 @@ typedef struct xfs_mount {
176 uint m_qflags; /* quota status flags */ 176 uint m_qflags; /* quota status flags */
177 xfs_trans_reservations_t m_reservations;/* precomputed res values */ 177 xfs_trans_reservations_t m_reservations;/* precomputed res values */
178 __uint64_t m_maxicount; /* maximum inode count */ 178 __uint64_t m_maxicount; /* maximum inode count */
179 __uint64_t m_maxioffset; /* maximum inode offset */
180 __uint64_t m_resblks; /* total reserved blocks */ 179 __uint64_t m_resblks; /* total reserved blocks */
181 __uint64_t m_resblks_avail;/* available reserved blocks */ 180 __uint64_t m_resblks_avail;/* available reserved blocks */
182 __uint64_t m_resblks_save; /* reserved blks @ remount,ro */ 181 __uint64_t m_resblks_save; /* reserved blks @ remount,ro */
@@ -297,7 +296,7 @@ xfs_preferred_iosize(xfs_mount_t *mp)
297 PAGE_CACHE_SIZE)); 296 PAGE_CACHE_SIZE));
298} 297}
299 298
300#define XFS_MAXIOFFSET(mp) ((mp)->m_maxioffset) 299#define XFS_MAXIOFFSET(mp) ((mp)->m_super->s_maxbytes)
301 300
302#define XFS_LAST_UNMOUNT_WAS_CLEAN(mp) \ 301#define XFS_LAST_UNMOUNT_WAS_CLEAN(mp) \
303 ((mp)->m_flags & XFS_MOUNT_WAS_CLEAN) 302 ((mp)->m_flags & XFS_MOUNT_WAS_CLEAN)