diff options
author | Qu Wenruo <wqu@suse.com> | 2020-06-24 18:02:54 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-07 20:57:27 -0400 |
commit | b1f0067aba5cc51540922e4187d5e8c8f77b1431 (patch) | |
tree | d4bef60a6c05a261e47dc38cca7bb6f74790f465 /fs/btrfs/Makefile | |
parent | be3594254605047d0623f905329d160544ca925c (diff) | |
download | u-boot-b1f0067aba5cc51540922e4187d5e8c8f77b1431.tar.gz u-boot-b1f0067aba5cc51540922e4187d5e8c8f77b1431.tar.xz u-boot-b1f0067aba5cc51540922e4187d5e8c8f77b1431.zip |
fs: btrfs: Crossport volumes.[ch] from btrfs-progs
This patch crossports volumes.[ch] from btrfs-progs, including:
- btrfs_map_block()
The core mechanism to map btrfs logical address to physical address.
This version includes multi-device support, along with RAID56 support.
- btrfs_scan_one_device()
This is the function to register one btrfs device to the list.
This is the main part of the multi-device btrfs assembling process.
Although we're not going to support multiple devices until U-Boot
allows us to scan one device without actually opening it.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
[trini: Use %zu in a debug print to avoid warning]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r-- | fs/btrfs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index 53be6e8835..ec30aae765 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -4,4 +4,4 @@ obj-y := btrfs.o chunk-map.o compression.o ctree.o dev.o dir-item.o \ extent-io.o inode.o root.o subvolume.o crypto/hash.o disk-io.o \ - common/rbtree-utils.o extent-cache.o + common/rbtree-utils.o extent-cache.o volumes.o |