Re: [PATCH v2] btrfs: use enum instead of constant value

2018-01-10 Thread Nikolay Borisov
On 11.01.2018 08:59, Gu Jinxiang wrote: > Use enum READA_FORWARD instead of integers value to keep source robust. > > Changelog: > v2->v1: change enum from READA_BACK to READA_FORWARD, since according > to the logic of the source, it should reada_for_search forward, not > backward. > And, Refere

[PATCH v2] btrfs: use enum instead of constant value

2018-01-10 Thread Gu Jinxiang
Use enum READA_FORWARD instead of integers value to keep source robust. Changelog: v2->v1: change enum from READA_BACK to READA_FORWARD, since according to the logic of the source, it should reada_for_search forward, not backward. And, Reference: commit e4058b54d1e4 ("btrfs: cleanup, use enum valu