mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-27 02:14:28 +03:00
module/zfs: vdev_indirect: vdev_indirect_repair: remove unused variable
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12187
This commit is contained in:
parent
f70f3e2fbc
commit
6bab6ee838
@ -1424,11 +1424,6 @@ vdev_indirect_repair(zio_t *zio)
|
|||||||
{
|
{
|
||||||
indirect_vsd_t *iv = zio->io_vsd;
|
indirect_vsd_t *iv = zio->io_vsd;
|
||||||
|
|
||||||
enum zio_flag flags = ZIO_FLAG_IO_REPAIR;
|
|
||||||
|
|
||||||
if (!(zio->io_flags & (ZIO_FLAG_SCRUB | ZIO_FLAG_RESILVER)))
|
|
||||||
flags |= ZIO_FLAG_SELF_HEAL;
|
|
||||||
|
|
||||||
if (!spa_writeable(zio->io_spa))
|
if (!spa_writeable(zio->io_spa))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user