Re: [PATCH v3 0/3] btrfs: REF_COWS bit rework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 18, 2020 at 05:38:59PM +0200, David Sterba wrote:
> On Mon, May 18, 2020 at 05:03:31PM +0200, David Sterba wrote:
> > On Mon, May 18, 2020 at 01:13:34PM +0800, Qu Wenruo wrote:
> > - btrfs_read_tree_root
> > - btrfs_init_fs_root
> 
> With
> 
> 2291         location.objectid = BTRFS_DATA_RELOC_TREE_OBJECTID;
> 2292         root = btrfs_read_tree_root(tree_root, &location);
> 2293         if (IS_ERR(root)) {
> 2294                 ret = PTR_ERR(root);
> 2295                 goto out;
> 2296         }
> 2297         ret = btrfs_init_fs_root(root);
> 2298         if (ret)
> 2299                 goto out;
> 2300         set_bit(BTRFS_ROOT_TRACK_DIRTY, &root->state);
> 2301         fs_info->data_reloc_root = root;

Enough experimenting, I don't want to leave misc-next in a broken state
so will add get_fs_root back.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux