Re: [PATCH v5 2/6] dir_iterator: refactor state machine model
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Mar 30, 2017, 08:18 UTC
- Message-ID
- <8838e12a-41b9-fd31-da2c-12352fd374b8@alum.mit.edu>
- In-Reply-To
- <1490844730-47634-3-git-send-email-bnmvco@gmail.com>
On 03/30/2017 05:32 AM, Daniel Ferreira wrote:
Show 6 quoted lines
> 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.
Nice.
Michael