Re: [PATCH] btrfs: cleanup mount path

2017-09-21 Thread Anand Jain
On 09/19/2017 10:05 AM, Misono, Tomohiro wrote: Summary: Cleanup mount path by avoiding calling btrfs_mount() twice. Right. Needs cleanup. This is for more understandable code and no functional change. However this patch diff isn't straight forward to review. Can you split this into s

[PATCH] btrfs: cleanup mount path

2017-09-18 Thread Misono, Tomohiro
Summary: Cleanup mount path by avoiding calling btrfs_mount() twice. This is for more understandable code and no functional change. Explanation: btrfs uses mount_subtree() to mount a subvolume directly. This function needs a vfsmount* of device's root (/), which is a return value of vfs_kern_moun