Re: [PATCH v5 2/2] btrfs: get device pointer from btrfs_scan_one_device

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

 



On Tue, Jul 17, 2018 at 12:54:00PM +0800, Anand Jain wrote:
> 
> ::
> 
> >>> @@ -1561,12 +1564,15 @@ static struct dentry *btrfs_mount_root(struct file_system_type *fs_type,
> >>>   		goto error_fs_info;
> >>>   	}
> >>>
> >>> -	error = btrfs_scan_one_device(device_name, mode, fs_type, &fs_devices);
> >>> -	if (error) {
> >>> +	device = btrfs_scan_one_device(device_name, mode, fs_type);
> >>> +	if (IS_ERR(device)) {
> >>> +		error = PTR_ERR(device);
> >>>   		mutex_unlock(&uuid_mutex);
> >>>   		goto error_fs_info;
> >>>   	}
> >>>
> >>> +	fs_devices = device->fs_devices;
> >>> +
> 
>   The version at misc-next is missing this assignment and it panics.

Thanks, that was my mismerge. Now added back and pushed.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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