Turbo Fredriksson 859735c095 Add the '-a' option to 'zpool export'
Support exporting all imported pools in one go, using 'zpool export -a'.

This is accomplished by moving the export parts from zpool_do_export()
in to the new function zpool_export_one().  The for_each_pool() function
is used to enumerate the list of pools to be exported.  Passing an argc
of 0 implies the function should be called on all pools.

Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes: #3203
2015-05-04 10:17:08 -07:00
..
2013-11-08 14:30:29 -08:00
2013-01-09 16:54:58 -08:00
2015-05-04 09:41:09 -07:00
2014-01-29 15:11:56 -08:00
2015-02-27 13:54:15 -08:00
2014-11-06 11:13:18 -08:00
2015-03-03 13:38:17 -08:00