mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Add missing -V option to zdb
Add missing getopt specifier for `zdb -V` verbatim option and set flag with correct bitwise operator. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
c5d0287011
commit
00af2ff6f2
@ -3623,7 +3623,7 @@ main(int argc, char **argv)
|
|||||||
int flags = ZFS_IMPORT_MISSING_LOG;
|
int flags = ZFS_IMPORT_MISSING_LOG;
|
||||||
int rewind = ZPOOL_NEVER_REWIND;
|
int rewind = ZPOOL_NEVER_REWIND;
|
||||||
char *spa_config_path_env;
|
char *spa_config_path_env;
|
||||||
const char *opts = "bcdhilmMI:suCDRSAFLXevp:t:U:P";
|
const char *opts = "bcdhilmMI:suCDRSAFLXevp:t:U:PV";
|
||||||
boolean_t target_is_spa = B_TRUE;
|
boolean_t target_is_spa = B_TRUE;
|
||||||
|
|
||||||
(void) setrlimit(RLIMIT_NOFILE, &rl);
|
(void) setrlimit(RLIMIT_NOFILE, &rl);
|
||||||
@ -3668,7 +3668,7 @@ main(int argc, char **argv)
|
|||||||
dump_opt[c]++;
|
dump_opt[c]++;
|
||||||
break;
|
break;
|
||||||
case 'V':
|
case 'V':
|
||||||
flags = ZFS_IMPORT_VERBATIM;
|
flags |= ZFS_IMPORT_VERBATIM;
|
||||||
break;
|
break;
|
||||||
case 'I':
|
case 'I':
|
||||||
max_inflight = strtoull(optarg, NULL, 0);
|
max_inflight = strtoull(optarg, NULL, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user