]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 5.0 compat: Remove incorrect ASSERT
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 30 Apr 2019 01:20:21 +0000 (18:20 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2019 01:20:21 +0000 (18:20 -0700)
commitc12ea778654778f2039369323e8875e71d3a5609
treeb6678ac70291e3d1cd1dd918790cf3dd5e2f9bc3
parentb43a27f76fa2cdad5e9a8e74a6a028e38a415a62
Linux 5.0 compat: Remove incorrect ASSERT

Not all block devices, notably scsi_debug, set a root_blkg on the
request queue.  Remove this assertion and allow the the existing
call to blkg_tryget() to gracefully handle the NULL (which it does).

Reviewed-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8678
module/zfs/vdev_disk.c