diff options
author | Christoph Hellwig <hch@lst.de> | 2019-10-28 08:41:44 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-10-29 09:50:12 -0700 |
commit | 5da8a07c79e8a1c151737254117df57627ae93fa (patch) | |
tree | b677a01da443d9fbf3578b2438b5508e2864207a /fs/xfs/xfs_iops.c | |
parent | 3cd1d18b0d40098d51f12caa7a365f0e31a16e03 (diff) | |
download | linux-5da8a07c79e8a1c151737254117df57627ae93fa.tar.gz linux-5da8a07c79e8a1c151737254117df57627ae93fa.tar.bz2 linux-5da8a07c79e8a1c151737254117df57627ae93fa.zip |
xfs: rename the m_writeio_* fields in struct xfs_mount
Use the allocsize name to match the mount option and usage instead.
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 271fcbe04d48..382d72769470 100644 --- a/fs/xfs/xfs_iops.c +++ b/fs/xfs/xfs_iops.c @@ -514,7 +514,7 @@ xfs_stat_blksize( if (mp->m_swidth) return mp->m_swidth << mp->m_sb.sb_blocklog; if (mp->m_flags & XFS_MOUNT_DFLT_IOSIZE) - return 1U << mp->m_writeio_log; + return 1U << mp->m_allocsize_log; } return PAGE_SIZE; |