summaryrefslogtreecommitdiff
path: root/cmds-inspect.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-10-31 10:34:37 +0100
committerDavid Sterba <dsterba@suse.com>2016-11-09 13:47:28 +0100
commit49cb98e5d6989055860eee06879c10896489062f (patch)
tree2c2793bfb6d1ec1d55654eeb90967d49cc228a0b /cmds-inspect.c
parent3fe243296df75de895c43e9a24e9b6a773555064 (diff)
btrfs-progs: rename lookup_ino_rootid
It does not resolve the inode number but path where fd has been opened. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-inspect.c')
-rw-r--r--cmds-inspect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-inspect.c b/cmds-inspect.c
index 6d4e2b8..5e58a28 100644
--- a/cmds-inspect.c
+++ b/cmds-inspect.c
@@ -326,7 +326,7 @@ static int cmd_inspect_rootid(int argc, char **argv)
goto out;
}
- ret = lookup_ino_rootid(fd, &rootid);
+ ret = lookup_path_rootid(fd, &rootid);
if (ret) {
error("failed to lookup root id: %s", strerror(-ret));
goto out;