diff options
author | Qu Wenruo <wqu@suse.com> | 2020-06-24 19:03:05 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-08 03:57:27 +0300 |
commit | c921aa20c3682456b59574be8cf3df589d909950 (patch) | |
tree | dd08412b23cc1f74712b4d48d39da91f6e4557e2 /api | |
parent | 5bdcb37495d594c352221f582e31a0ec04b7d58b (diff) | |
download | u-boot-c921aa20c3682456b59574be8cf3df589d909950.tar.xz |
fs: btrfs: Implement btrfs_lookup_path()
This is the extent buffer based path lookup routine.
To implement this, btrfs_lookup_dir_item() is crossported from
btrfs-progs, and implements btrfs_lookup_path() from scratch.
Unlike the existing __btrfs_lookup_path(), since btrfs_read_fs_root()
will check whether a root is a orphan at read time, there is no need to
check root backref, this makes the code a little easier to read.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions