diff options
author | Qu Wenruo <wqu@suse.com> | 2020-06-24 18:03:05 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-07 20:57:27 -0400 |
commit | c921aa20c3682456b59574be8cf3df589d909950 (patch) | |
tree | dd08412b23cc1f74712b4d48d39da91f6e4557e2 /fs/btrfs/btrfs.c | |
parent | 5bdcb37495d594c352221f582e31a0ec04b7d58b (diff) |
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 'fs/btrfs/btrfs.c')
0 files changed, 0 insertions, 0 deletions