Brian Behlendorf
0fe3d820f5
Fix gcc compiler warning, dsl_pool_create()
...
When compiling ZFS in user space gcc-4.6.0 correctly identifies
the variable 'os' as being set but never used. This generates a
warning and a build failure when using --enable-debug. However,
the code is correct we only want to use 'os' for the kernel space
builds. To suppress the warning the call was wrapped with a
VERIFY() which has the nice side effect of ensuring the 'os'
actually never is NULL. This was observed under Fedora 15.
module/zfs/dsl_pool.c: In function ‘dsl_pool_create’:
module/zfs/dsl_pool.c:229:12: error: variable ‘os’ set but not used
[-Werror=unused-but-set-variable]
2011-04-19 09:04:51 -07:00
..
2011-04-07 09:52:10 -07:00
2010-08-31 08:38:35 -07:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2010-05-28 13:45:14 -07:00
2010-08-31 13:41:57 -07:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2011-02-18 09:31:25 -08:00
2010-08-31 13:41:57 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2011-02-10 09:27:22 -08:00
2010-08-31 08:38:45 -07:00
2010-09-17 16:24:15 -07:00
2011-02-10 09:27:21 -08:00
2010-05-28 13:45:14 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2011-04-19 09:04:51 -07:00
2011-02-23 12:52:51 -08:00
2010-10-12 14:54:59 -07:00
2010-08-31 13:41:58 -07:00
2010-10-12 14:55:03 -07:00
2010-08-31 08:38:46 -07:00
2010-08-31 08:38:49 -07:00
2011-02-10 09:27:21 -08:00
2010-08-31 08:38:45 -07:00
2010-08-31 08:38:43 -07:00
2010-12-07 16:05:25 -08:00
2011-02-10 09:27:20 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2011-02-10 09:27:21 -08:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2010-11-08 14:03:35 -08:00
2010-05-28 13:45:14 -07:00
2011-04-07 09:52:16 -07:00
2010-05-28 13:45:14 -07:00
2010-08-27 15:34:02 -07:00
2010-08-31 08:38:49 -07:00
2011-03-10 13:34:17 -08:00
2011-02-10 09:27:21 -08:00
2010-08-31 08:38:43 -07:00
2010-08-27 15:28:32 -07:00
2010-05-28 13:45:14 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 08:38:44 -07:00
2010-08-27 15:28:32 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 08:38:43 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 08:38:46 -07:00
2011-02-10 09:27:21 -08:00
2010-08-31 13:41:58 -07:00
2010-05-28 13:45:14 -07:00
2011-04-07 09:51:57 -07:00
2010-10-12 14:55:02 -07:00
2011-03-02 11:44:34 -08:00
2011-02-28 09:46:23 -08:00
2011-03-02 11:44:34 -08:00
2010-08-31 13:41:50 -07:00
2011-03-03 11:29:15 -08:00
2011-03-08 12:44:06 -08:00
2011-03-02 11:44:34 -08:00
2011-04-19 08:57:23 -07:00
2011-03-09 13:30:03 -08:00
2011-04-07 09:51:57 -07:00
2010-08-31 13:41:57 -07:00
2010-05-28 13:45:14 -07:00
2010-05-28 13:45:14 -07:00
2010-08-26 14:24:34 -07:00
2011-03-22 12:14:55 -07:00
2010-05-28 13:45:14 -07:00
2011-03-22 12:15:54 -07:00
2011-04-07 09:51:57 -07:00
2011-04-07 14:27:09 -07:00
2011-03-22 12:15:54 -07:00
2010-09-17 16:24:15 -07:00
2011-02-25 09:43:19 -08:00