mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-15 20:50:30 +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
18e9268087
commit
986d64ccca
@ -1423,11 +1423,6 @@ vdev_indirect_repair(zio_t *zio)
|
||||
{
|
||||
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))
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user