commit | b238b8fa93353ab50c9a2b1e2fa47a0ab01c37cd | [log] [tgz] |
---|---|---|
author | Chen Gong <gong.chen@linux.intel.com> | Wed Oct 12 09:17:24 2011 -0700 |
committer | Tony Luck <tony.luck@intel.com> | Wed Oct 12 09:17:24 2011 -0700 |
tree | a46a6ce7567d9826ae48c2f3dc5aa0167de1f26c | |
parent | abd4d5587be911f63592537284dad78766d97d62 [diff] |
pstore: make pstore write function return normal success/fail value Currently pstore write interface employs record id as return value, but it is not enough because it can't tell caller if the write operation is successful. Pass the record id back via an argument pointer and return zero for success, non-zero for failure. Signed-off-by: Chen Gong <gong.chen@linux.intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>