Re: [PATCH v4 2/9] loop:refactor: extract subfunction get_next_free_loop()

2022-12-12 Thread Denys Vlasenko
Applied with some changes, thank you On Mon, Nov 21, 2022 at 2:58 PM Xiaoming Ni wrote: > > Step 2 of micro-refactoring the set_loop function () > Extract subfunction get_next_free_loop() from set_loop() > > Also fix miss free(try) when stat(try) and mknod fail > > function

[PATCH v4 2/9] loop:refactor: extract subfunction get_next_free_loop()

2022-11-21 Thread Xiaoming Ni
Step 2 of micro-refactoring the set_loop function () Extract subfunction get_next_free_loop() from set_loop() Also fix miss free(try) when stat(try) and mknod fail function old new delta set_loop