Re: [PATCH 0/4] Cleanup alloc_reserved_tree_block signature

2018-05-22 Thread David Sterba
On Mon, May 21, 2018 at 12:27:19PM +0300, Nikolay Borisov wrote: > At the moment alloc_reserved_tree_block takes 8 friggin arguments. The irony > is that all of those are really derived from 3 structures. This series ends > up > reducing the arguments to 3. As a result some code, private to >

[PATCH 0/4] Cleanup alloc_reserved_tree_block signature

2018-05-21 Thread Nikolay Borisov
At the moment alloc_reserved_tree_block takes 8 friggin arguments. The irony is that all of those are really derived from 3 structures. This series ends up reducing the arguments to 3. As a result some code, private to alloc_reserved_tree_block is moved from run_delayed_tree_ref. Patch 1