projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f2ff27
)
btrfs-progs: check: do not require argument for --subvol-extents
author
David Sterba
<dsterba@suse.cz>
Fri, 22 Aug 2014 14:01:38 +0000
(16:01 +0200)
committer
David Sterba
<dsterba@suse.cz>
Fri, 22 Aug 2014 14:09:56 +0000
(16:09 +0200)
$ btrfs check --subvol-extents /dev/sdx
ERROR: /dev/sdx is not a valid numeric value.
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-check.c
patch
|
blob
|
history
diff --git
a/cmds-check.c
b/cmds-check.c
index
75965af
..
268e588
100644
(file)
--- a/
cmds-check.c
+++ b/
cmds-check.c
@@
-6545,7
+6545,7
@@
static struct option long_options[] = {
{ "init-extent-tree", 0, NULL, 0 },
{ "check-data-csum", 0, NULL, 0 },
{ "backup", 0, NULL, 0 },
- { "subvol-extents",
1
, NULL, 'E' },
+ { "subvol-extents",
no_argument
, NULL, 'E' },
{ "qgroup-report", 0, NULL, 'Q' },
{ NULL, 0, NULL, 0}
};