]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs.xfs: if either sunit or swidth is nonzero, the other must be as well
authorEric Sandeen <sandeen@redhat.com>
Thu, 31 May 2018 19:09:55 +0000 (14:09 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 31 May 2018 19:09:55 +0000 (14:09 -0500)
commit14c57d50de912fae821f8c1e717144f3602566de
tree8827ef528ce383a387e5f15c8ecc8d4e0760bdda
parent87a271c2084d6fd3eff9a1b37891227d30c14824
mkfs.xfs: if either sunit or swidth is nonzero,  the other must be as well

Don't allow the user to set one but not the other.

Reported-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
mkfs/xfs_mkfs.c