Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvs: internal KVS cache code cleanup #1247

Closed
chu11 opened this issue Oct 23, 2017 · 0 comments
Closed

kvs: internal KVS cache code cleanup #1247

chu11 opened this issue Oct 23, 2017 · 0 comments
Assignees

Comments

@chu11
Copy link
Member

chu11 commented Oct 23, 2017

in the kvs cache we have

struct cache_entry {
<snip>
    bool data_valid;          /* flag indicating if data set, don't use
                             * data == NULL as test */
<snip>    
    uint8_t dirty:1;
};

We should use bool or uint8_t consistently for these two values. In addition, functions should return bool or int consistently for these values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant