aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2019-10-28 08:41:46 -0700
committerGravatar Darrick J. Wong <darrick.wong@oracle.com> 2019-10-29 09:50:13 -0700
commitaa58d4455a11a00c7a3dd39984c98d8793c793e6 (patch)
treee0acace54e320a368757f7ded76332340070dc48 /fs/xfs
parentxfs: reverse the polarity of XFS_MOUNT_COMPAT_IOSIZE (diff)
downloadlinux-aa58d4455a11a00c7a3dd39984c98d8793c793e6.tar.gz
linux-aa58d4455a11a00c7a3dd39984c98d8793c793e6.tar.bz2
linux-aa58d4455a11a00c7a3dd39984c98d8793c793e6.zip
xfs: clean up printing the allocsize option in
Remove superflous cast. 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')
-rw-r--r--fs/xfs/xfs_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index f21c59822a38..93ed0871b1cf 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -446,7 +446,7 @@ xfs_showargs(
if (mp->m_flags & XFS_MOUNT_ALLOCSIZE)
seq_printf(m, ",allocsize=%dk",
- (int)(1 << mp->m_allocsize_log) >> 10);
+ (1 << mp->m_allocsize_log) >> 10);
if (mp->m_logbufs > 0)
seq_printf(m, ",logbufs=%d", mp->m_logbufs);