diff options
author | Christoph Hellwig <hch@lst.de> | 2019-10-28 08:41:45 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-10-29 09:50:13 -0700 |
commit | 3274d00801007cccab8aec7f2ac50f6bc10d1692 (patch) | |
tree | 55ac38267966d04c70bb317b92e9c1ed0de03796 /fs/xfs/xfs_iops.c | |
parent | 2fcddee8cd8fcce4cc5589a0344f40a28a6dd26f (diff) | |
download | lwn-3274d00801007cccab8aec7f2ac50f6bc10d1692.tar.gz lwn-3274d00801007cccab8aec7f2ac50f6bc10d1692.zip |
xfs: rename the XFS_MOUNT_DFLT_IOSIZE option to
Make the flag match the mount option and usage.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_iops.c')
-rw-r--r-- | fs/xfs/xfs_iops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iops.c b/fs/xfs/xfs_iops.c index 382d72769470..9e1f89cdcc82 100644 --- a/fs/xfs/xfs_iops.c +++ b/fs/xfs/xfs_iops.c @@ -513,7 +513,7 @@ xfs_stat_blksize( if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE)) { if (mp->m_swidth) return mp->m_swidth << mp->m_sb.sb_blocklog; - if (mp->m_flags & XFS_MOUNT_DFLT_IOSIZE) + if (mp->m_flags & XFS_MOUNT_ALLOCSIZE) return 1U << mp->m_allocsize_log; } |