]> granicus.if.org Git - zfs/commit
Illumos #1680: zfs vdev_file_io_start: validate vdev before using vdev_tsd
authorAndriy Gapon <avg@FreeBSD.org>
Mon, 9 Apr 2012 17:01:46 +0000 (13:01 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 11 Apr 2012 18:23:18 +0000 (11:23 -0700)
commit3adfc400f5f6c8b24b825cbe91c14b7d58f3c7fc
tree06a674c3a2a41a9ea794ebe76c41a69327360fbd
parent109491a8976ec6f3fef74ee16bc16f64c34332af
Illumos #1680: zfs vdev_file_io_start: validate vdev before using vdev_tsd

vdev_tsd can be NULL for certain vdev states.
At least in userland testing with ztest.

References to Illumos issue:
  https://www.illumos.org/issues/1680

Ported-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #655
module/zfs/vdev_file.c