diff options
author | Turbo Fredriksson <[email protected]> | 2015-03-20 23:29:14 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-05-04 10:17:08 -0700 |
commit | 859735c0954e89dd329729c6959df7cbaca1fdcc (patch) | |
tree | 4d28d1be45ec1e0dc38d420c9b411d28a0d3bec1 /module/zfs/bpobj.c | |
parent | 0c60cc326bdb44f7eea61e62c6183822d0bd9cf0 (diff) |
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes: #3203
Diffstat (limited to 'module/zfs/bpobj.c')
0 files changed, 0 insertions, 0 deletions