<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/fs/btrfs/root-tree.c, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/fs/btrfs/root-tree.c?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/fs/btrfs/root-tree.c?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-09-08T00:57:27Z</updated>
<entry>
<title>fs: btrfs: Crossport open_ctree_fs_info() from btrfs-progs</title>
<updated>2020-09-08T00:57:27Z</updated>
<author>
<name>Qu Wenruo</name>
<email>wqu@suse.com</email>
</author>
<published>2020-06-24T16:03:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f06bfcf54d0e91892fcd1379e04aae9cd031fc78'/>
<id>urn:sha1:f06bfcf54d0e91892fcd1379e04aae9cd031fc78</id>
<content type='text'>
open_ctree_fs_info() is the main entry point to open btrfs.

This version is a simplfied version of __open_ctree_fd() of btrfs-progs,
the main differences are:
- Parameters on how to specify a block device
  Instead of @fd and @path, U-Boot uses blk_desc and disk_partition_t.

- Remove open_ctree flags
  There won't be multiple open ctree modes in U-Boot.

Otherwise functions structures are all kept the same.

With open_ctree_fs_info() implemented, also introduce the global
current_fs_info pointer to show the current opened btrfs.

Signed-off-by: Qu Wenruo &lt;wqu@suse.com&gt;
Reviewed-by: Marek Behún &lt;marek.behun@nic.cz&gt;
</content>
</entry>
</feed>
