]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs.xfs: validate options for CRCs up front.
authorDave Chinner <dchinner@redhat.com>
Fri, 7 Jun 2013 00:26:02 +0000 (10:26 +1000)
committerBen Myers <bpm@sgi.com>
Tue, 6 Aug 2013 20:54:57 +0000 (15:54 -0500)
commitf3edb66a48e4ddb61012ad3a45a86d669237d78e
treeccccbd0097c8241909685118cb5ac4f991bd77f4
parentad04ef4ab5d5d090c1749c3d89af9cf61712176a
mkfs.xfs: validate options for CRCs up front.

With CRC enabled filesystems, certain options are now not optional
and so are always enabled. Validate these options up front and
abort if options are specified that cannot be set.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
mkfs/xfs_mkfs.c