diff options
author | Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> | 2016-03-18 10:31:32 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-03-18 14:14:03 +0100 |
commit | f4f4fb206199651f7c7d51cab2832c386bf97a05 (patch) | |
tree | 63855ac8b5a36ab3c559ad603a879563e32b1f12 /cmds-qgroup.c | |
parent | 5bec887333d4845ed8c7bcaaaadbda81e2c2aca9 (diff) |
btrfs-progs: inspect subvolid-resolve: fix argument parsing
"inspect-internal subvolid-resolve" doesn't work from the following commit.
commit 176aeca9a148 ("btrfs-progs: add getopt stubs where needed")
It's because 1st argument, subvolid, is also used for the pathname of
filesystem. 2nd argument should be used for this purpose instead.
* actual result
==================================================
# ./btrfs inspect-internal subvolid-resolve 260 /btrfs
ERROR: cannot access '260': No such file or directory
==================================================
* expected result
==================================================
# btrfs inspect-internal subvolid-resolve 260 /btrfs
snap
==================================================
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-qgroup.c')
0 files changed, 0 insertions, 0 deletions