Re: [PATCH 01/43] btrfs: push __setup_root into btrfs_alloc_root

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

 




On 17.01.20 г. 23:25 ч., Josef Bacik wrote:
> There's no reason to not init the root at alloc time, and with later
> patches it actually causes problems if we error out mounting the fs
> before the tree_root is init'ed because we expect it to have a valid ref
> count.  Fix this by pushing __setup_root into btrfs_alloc_root.
> 
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

It's good we centralize as much as we can so :

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>



[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