]> granicus.if.org Git - zfs/commit
ABD style cleanups
authorIsaac Huang <he.huang@intel.com>
Fri, 24 Feb 2017 20:05:42 +0000 (13:05 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 24 Feb 2017 20:05:42 +0000 (12:05 -0800)
commitf7e76821c525a7764a01f4a0e16aa9e2b77e3170
tree522a536d09c0e8124f8a46115bf0e3d49aaab15f
parent384328e544b1847236a07df231e1b7b10e4cc6ce
ABD style cleanups

The commit a6255b7fce400d485a0e87cbe369aa0ed7dc5dc4 removed a few
assertions which help catch errors and improve code readability. It also
duplicated two conditionals, which was unnecessary and made the code
confusing to read. This patch cleans it up.

Reviewed-by: David Quigley <david.quigley@intel.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Isaac Huang <he.huang@intel.com>
Closes #5802
module/zfs/vdev_raidz.c