mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
7c6b94b1b5
commit
aa58d4455a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue