Re: [PATCH v5 2/6] dir_iterator: refactor state machine model

2017-03-30 Thread Michael Haggerty
On 03/30/2017 05:32 AM, Daniel Ferreira wrote: > Remove the "initialized" member of dir_iterator_level. Replace its > functionality with a DIR_STATE_PUSH state in the > dir_iterator_level.dir_state enum. > > This serves to remove a redundant property in the dir_iterator_level > struct and ease com

[PATCH v5 2/6] dir_iterator: refactor state machine model

2017-03-29 Thread Daniel Ferreira
Remove the "initialized" member of dir_iterator_level. Replace its functionality with a DIR_STATE_PUSH state in the dir_iterator_level.dir_state enum. This serves to remove a redundant property in the dir_iterator_level struct and ease comprehension of the state machine's behavior. Signed-off-by: