u-boot/fs/btrfs
Qu Wenruo c921aa20c3 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>
2020-09-07 20:57:27 -04:00
..
common fs: btrfs: Crossport rbtree-utils from btrfs-progs 2020-09-07 20:57:27 -04:00
crypto fs: btrfs: Add more checksum algorithms 2020-09-07 20:57:27 -04:00
kernel-shared fs: btrfs: Sync btrfs_btree.h from kernel 2020-09-07 20:57:27 -04:00
btrfs.c fs: btrfs: Rename path resolve related functions to avoid name conflicts 2020-09-07 20:57:27 -04:00
btrfs.h fs: btrfs: Use btrfs_readlink() to implement __btrfs_readlink() 2020-09-07 20:57:27 -04:00
chunk-map.c fs: btrfs: Crossport btrfs_read_sys_array() and btrfs_read_chunk_tree() 2020-09-07 20:57:27 -04:00
compat.h fs: btrfs: Rename path resolve related functions to avoid name conflicts 2020-09-07 20:57:27 -04:00
compression.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
conv-funcs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ctree.c fs: btrfs: Crossport btrfs_search_slot() from btrfs-progs 2020-09-07 20:57:27 -04:00
ctree.h fs: btrfs: Implement btrfs_lookup_path() 2020-09-07 20:57:27 -04:00
dev.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
dir-item.c fs: btrfs: Implement btrfs_lookup_path() 2020-09-07 20:57:27 -04:00
disk-io.c fs: btrfs: Crossport open_ctree_fs_info() from btrfs-progs 2020-09-07 20:57:27 -04:00
disk-io.h fs: btrfs: Crossport open_ctree_fs_info() from btrfs-progs 2020-09-07 20:57:27 -04:00
extent-cache.c fs: btrfs: Crossport extent-cache.[ch] from btrfs-progs 2020-09-07 20:57:27 -04:00
extent-cache.h fs: btrfs: Crossport extent-cache.[ch] from btrfs-progs 2020-09-07 20:57:27 -04:00
extent-io.c fs: btrfs: Rename struct btrfs_path to struct __btrfs_path 2020-09-07 20:57:27 -04:00
extent-io.h fs: btrfs: Crossport extent-io.[ch] from btrfs-progs 2020-09-07 20:57:27 -04:00
inode.c fs: btrfs: Implement btrfs_lookup_path() 2020-09-07 20:57:27 -04:00
Kconfig fs: btrfs: add zstd decompression support 2019-05-05 08:48:50 -04:00
Makefile fs: btrfs: Crossport open_ctree_fs_info() from btrfs-progs 2020-09-07 20:57:27 -04:00
root-tree.c fs: btrfs: Crossport open_ctree_fs_info() from btrfs-progs 2020-09-07 20:57:27 -04:00
root.c fs: btrfs: Rename btrfs_root to __btrfs_root 2020-09-07 20:57:27 -04:00
subvolume.c fs: btrfs: Rename path resolve related functions to avoid name conflicts 2020-09-07 20:57:27 -04:00
volumes.c fs: btrfs: Crossport btrfs_read_sys_array() and btrfs_read_chunk_tree() 2020-09-07 20:57:27 -04:00
volumes.h fs: btrfs: Crossport btrfs_read_sys_array() and btrfs_read_chunk_tree() 2020-09-07 20:57:27 -04:00