diff options
author | Chen Gong <gong.chen@linux.intel.com> | 2011-10-12 18:17:24 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2011-10-12 18:17:24 +0200 |
commit | b238b8fa93353ab50c9a2b1e2fa47a0ab01c37cd (patch) | |
tree | a46a6ce7567d9826ae48c2f3dc5aa0167de1f26c /samples | |
parent | pstore: change mutex locking to spin_locks (diff) | |
download | linux-b238b8fa93353ab50c9a2b1e2fa47a0ab01c37cd.tar.xz linux-b238b8fa93353ab50c9a2b1e2fa47a0ab01c37cd.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions