diff options
author | 2019-10-28 08:41:44 -0700 | |
---|---|---|
committer | 2019-10-29 09:50:12 -0700 | |
commit | 5da8a07c79e8a1c151737254117df57627ae93fa (patch) | |
tree | b677a01da443d9fbf3578b2438b5508e2864207a /fs/xfs/xfs_iops.c | |
parent | xfs: remove the m_readio_* fields in struct xfs_mount (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; |