Re: [PATCH v20 23/48] refs.c: add transaction.status and track OPEN/CLOSED/ERROR

2014-07-14 Thread Ronnie Sahlberg
I updated the comments. Status is used in a later series to track certain errno settings. This used to be done here but was moved to a later series. I removed the status field for now and will re add it later when we start using it. Thanks! On Tue, Jul 8, 2014 at 5:00 AM, Michael Haggerty

Re: [PATCH v20 23/48] refs.c: add transaction.status and track OPEN/CLOSED/ERROR

2014-07-08 Thread Michael Haggerty
On 06/20/2014 04:43 PM, Ronnie Sahlberg wrote: Track the status of a transaction in a new status field. Check the field for The status field is not set or used anywhere. The field that you use is state. sanity, i.e. that status must be OPEN when _commit/_create/_delete or _update is called

[PATCH v20 23/48] refs.c: add transaction.status and track OPEN/CLOSED/ERROR

2014-06-20 Thread Ronnie Sahlberg
Track the status of a transaction in a new status field. Check the field for sanity, i.e. that status must be OPEN when _commit/_create/_delete or _update is called or else die(BUG:...) Signed-off-by: Ronnie Sahlberg sahlb...@google.com --- refs.c | 40 +++- 1