Files
mirror_zfs/module/zfs
loli10K b24771a8c9 Prevent gcc -Werror=maybe-uninitialized warnings in spa_wait_common()
This commit fixes the following build failure detected on Debian9
(GCC 6.3.0):

     CC [M]  module/zfs/spa.o
   module/zfs/spa.c: In function ‘spa_wait_common.part.31’:
   module/zfs/spa.c:9468:6: error: ‘in_progress’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
      if (!in_progress || spa->spa_waiters_cancel || error)
         ^
   cc1: all warnings being treated as errors

Reviewed-by: Chris Dunlop <chris@onthe.net.au>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Gallagher <john.gallagher@delphix.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9326
2019-09-16 10:46:02 -07:00
..
2019-07-26 10:54:14 -07:00
2019-06-19 09:48:12 -07:00
2019-06-19 09:48:12 -07:00
2019-09-05 14:49:49 -07:00
2019-06-19 09:48:12 -07:00
2019-09-05 14:49:49 -07:00
2019-09-02 17:56:41 -07:00
2018-05-29 16:00:33 -07:00
2019-09-02 17:56:41 -07:00
2018-05-29 16:00:33 -07:00
2019-09-02 17:56:41 -07:00
2019-09-02 17:56:41 -07:00
2017-10-11 16:54:48 -04:00
2019-05-02 16:46:04 -07:00
2015-01-16 14:41:26 -08:00
2019-09-05 14:49:49 -07:00
2019-09-05 14:49:49 -07:00
2019-06-19 09:48:12 -07:00
2019-09-02 17:56:41 -07:00
2010-08-31 13:41:58 -07:00
2019-09-02 17:56:41 -07:00
2019-09-02 17:56:41 -07:00
2019-07-16 10:11:49 -07:00
2019-06-20 18:29:02 -07:00
2019-09-02 17:56:41 -07:00
2019-06-20 18:29:02 -07:00
2019-09-05 14:49:49 -07:00
2019-09-02 17:56:41 -07:00
2019-09-02 17:56:41 -07:00
2019-09-05 14:49:49 -07:00
2019-09-02 17:56:41 -07:00
2018-05-29 16:00:33 -07:00
2019-09-05 14:49:49 -07:00
2018-05-29 16:00:33 -07:00
2018-02-13 14:54:54 -08:00
2019-09-02 17:56:41 -07:00
2019-09-02 17:56:41 -07:00
2019-09-02 17:56:41 -07:00
2018-02-09 10:08:05 -08:00
2019-07-26 10:54:14 -07:00
2019-09-02 17:56:41 -07:00