Re: [PATCH 6/6] btrfs: cleanup to make btrfs_free_stale_device() readable

2018-01-09 Thread Josef Bacik
On Tue, Jan 09, 2018 at 10:13:14PM +0800, Anand Jain wrote: > From: Anand Jain > > Now as the there is path in arg, so instead of reading the path from > cur_device just get it from the caller, and so the purpose of cur_device > is to skip the device, so rename it to skip_dev. Also drop the comme

[PATCH 6/6] btrfs: cleanup to make btrfs_free_stale_device() readable

2018-01-09 Thread Anand Jain
From: Anand Jain Now as the there is path in arg, so instead of reading the path from cur_device just get it from the caller, and so the purpose of cur_device is to skip the device, so rename it to skip_dev. Also drop the comment about different path being used for the same device, since now we w

[PATCH 6/6] btrfs: cleanup to make btrfs_free_stale_device() readable

2017-12-14 Thread Anand Jain
Now as the there is path in arg, so instead of reading the path from cur_device just get it from the caller, and so the purpose of cur_device is to skip the device, so rename it to skip_dev. Also drop the comment about different path being used for the same device, since now we will have cli to cle