diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-10-18 13:15:59 +0100 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-10-18 13:15:59 +0100 |
commit | 74d288e05c2d0cb97186f51049813b3e5b5bb0cd (patch) | |
tree | 4fc213398dc89e053d53ff7d42102942470e9cb5 /cmds-inspect.c | |
parent | 569a646293cd782de7665b6158514f3b48d229d3 (diff) |
New upstream release.
Diffstat (limited to 'cmds-inspect.c')
-rw-r--r-- | cmds-inspect.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmds-inspect.c b/cmds-inspect.c index 58b59560..885f3abe 100644 --- a/cmds-inspect.c +++ b/cmds-inspect.c @@ -31,9 +31,6 @@ #include "disk-io.h" #include "commands.h" #include "btrfs-list.h" -#include "cmds-inspect-dump-tree.h" -#include "cmds-inspect-dump-super.h" -#include "cmds-inspect-tree-stats.h" #include "help.h" static const char * const inspect_cmd_group_usage[] = { @@ -321,7 +318,7 @@ static int cmd_inspect_rootid(int argc, char **argv) if (check_argc_exact(argc - optind, 1)) usage(cmd_inspect_rootid_usage); - fd = btrfs_open_dir(argv[optind], &dirstream, 1); + fd = btrfs_open_file_or_dir(argv[optind], &dirstream, 1); if (fd < 0) { ret = -ENOENT; goto out; |