Re: [PATCH 1/2] btrfs: fix the bug of device scan/ready for mounted, filesystem

2018-01-18 Thread David Sterba
On Wed, Jan 17, 2018 at 05:37:39PM +0900, Misono, Tomohiro wrote: > commit ae3acc5fc0bf ("btrfs: cleanup btrfs_mount() using > btrfs_mount_root()") introduces a bug that "btrfs device scan/ready" for > mounted filesystem fails. > > This is because fs_info->bdev_holder has been changed to hold >

Re: [PATCH 1/2] btrfs: fix the bug of device scan/ready for mounted, filesystem

2018-01-17 Thread Anand Jain
On 01/17/2018 04:37 PM, Misono, Tomohiro wrote: commit ae3acc5fc0bf ("btrfs: cleanup btrfs_mount() using btrfs_mount_root()") introduces a bug that "btrfs device scan/ready" for mounted filesystem fails. This is because fs_info->bdev_holder has been changed to hold btrfs_root_fs_type instead

[PATCH 1/2] btrfs: fix the bug of device scan/ready for mounted, filesystem

2018-01-17 Thread Misono, Tomohiro
commit ae3acc5fc0bf ("btrfs: cleanup btrfs_mount() using btrfs_mount_root()") introduces a bug that "btrfs device scan/ready" for mounted filesystem fails. This is because fs_info->bdev_holder has been changed to hold btrfs_root_fs_type instead of btrfs_fs_type by this commit, but ioctl for