]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: clean up printing inode32/64 in xfs_showargs
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Oct 2019 15:41:47 +0000 (08:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 29 Oct 2019 16:50:13 +0000 (09:50 -0700)
commitbda766ef8474a5358ddde826b0247a34a644262e
treee5a15b44f2420ebdec526a1e0a406ab08df3f8ca
parent078888c6ae8cb417fa0b90fdc260be694fd0ab1f
xfs: clean up printing inode32/64 in xfs_showargs

inode64 is the only value remaining in the unset array.  Special case
the inode32/64 options with an explicit seq_printf that prints either
inode32 or inode64, and remove the unset array.

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