]> git.proxmox.com Git - mirror_zfs.git/commit
Illumos 5349 - verify that block pointer is plausible before reading
authorMatthew Ahrens <mahrens@delphix.com>
Wed, 26 Nov 2014 17:57:30 +0000 (09:57 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 8 May 2015 21:09:15 +0000 (14:09 -0700)
commit63e3a8616b200dc36fe9d298a466bb5c25b58132
tree62dac467064735789cacebfed2ae5b0c62f856b3
parentf0da4d15082be83547e5370e4479d3c04b56451d
Illumos 5349 - verify that block pointer is plausible before reading

5349 verify that block pointer is plausible before reading
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Xin Li <delphij@FreeBSD.org>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Approved by: Gordon Ross <gwr@nexenta.com>

References:
  https://www.illumos.org/issues/5349
  https://github.com/illumos/illumos-gate/commit/f63ab3d5

Porting notes:
* Several variable declarations were moved due to C style needs

Ported-by: DHE <git@dehacked.net>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3373
include/sys/spa.h
module/zfs/zio.c