OSDN Git Service

xfs: clean up printing the allocsize option in
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Oct 2019 15:41:46 +0000 (08:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 29 Oct 2019 16:50:13 +0000 (09:50 -0700)
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>
fs/xfs/xfs_super.c

index f21c598..93ed087 100644 (file)
@@ -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);