Re: [PATCH 2/4] btrfs: let variable required be declared inside the loop

2017-11-15 Thread David Sterba
On Thu, Nov 09, 2017 at 05:53:58PM +0200, Nikolay Borisov wrote: > On 9.11.2017 17:45, Anand Jain wrote: > > A preparation patch to create the actual device open in a new function. > Just say you are reducing the visibility of some variables to the loop. This patch is IMHO too fine-grained and ca

Re: [PATCH 2/4] btrfs: let variable required be declared inside the loop

2017-11-09 Thread Nikolay Borisov
On 9.11.2017 17:45, Anand Jain wrote: > A preparation patch to create the actual device open in a new function. > Just say you are reducing the visibility of some variables to the loop. > Signed-off-by: Anand Jain > --- > fs/btrfs/volumes.c | 11 ++- > 1 file changed, 6 insertions(+