Re: [PATCH] btrfs: set root to null in btrfs_search_path_in_tree_user

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

 



On Thu, Feb 27, 2020 at 10:07:08AM -0500, Josef Bacik wrote:
> We could potentially have root uninitialized in some cases, so this will
> cause problems with btrfs_put_root.
> 
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>
> ---
> - Dave, this can be folded into "btrfs: hold a ref on the root in
>   btrfs_search_path_in_tree_user"

Folded, thanks.



[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