diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-06-08 01:44:54 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-06-14 13:28:24 -0400 |
commit | 32972383ca46223aa2b129826b3789721ec147aa (patch) | |
tree | 11750ff77efd52b933bb1531b0129eb32597fff8 /fs/xfs/xfs_mount.h | |
parent | d2c2819117176e139dc761873c664aaa770c79c9 (diff) |
xfs: make largest supported offset less shouty
XFS_MAXIOFFSET() is just a simple macro that resolves to
mp->m_maxioffset. It doesn't need to exist, and it just makes the
code unnecessarily loud and shouty.
Make it quiet and easy to read.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 47c6b3b3eb9c..90a45305407d 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -296,8 +296,6 @@ xfs_preferred_iosize(xfs_mount_t *mp) | |||
296 | PAGE_CACHE_SIZE)); | 296 | PAGE_CACHE_SIZE)); |
297 | } | 297 | } |
298 | 298 | ||
299 | #define XFS_MAXIOFFSET(mp) ((mp)->m_super->s_maxbytes) | ||
300 | |||
301 | #define XFS_LAST_UNMOUNT_WAS_CLEAN(mp) \ | 299 | #define XFS_LAST_UNMOUNT_WAS_CLEAN(mp) \ |
302 | ((mp)->m_flags & XFS_MOUNT_WAS_CLEAN) | 300 | ((mp)->m_flags & XFS_MOUNT_WAS_CLEAN) |
303 | #define XFS_FORCED_SHUTDOWN(mp) ((mp)->m_flags & XFS_MOUNT_FS_SHUTDOWN) | 301 | #define XFS_FORCED_SHUTDOWN(mp) ((mp)->m_flags & XFS_MOUNT_FS_SHUTDOWN) |