summaryrefslogtreecommitdiff
path: root/cmds-fi-du.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-fi-du.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-fi-du.c')
-rw-r--r--cmds-fi-du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-fi-du.c b/cmds-fi-du.c
index 895c242e..bf637f82 100644
--- a/cmds-fi-du.c
+++ b/cmds-fi-du.c
@@ -459,7 +459,7 @@ static int du_add_file(const char *filename, int dirfd,
goto out;
}
- ret = lookup_ino_rootid(fd, &subvol);
+ ret = lookup_path_rootid(fd, &subvol);
if (ret)
goto out_close;