diff options
author | Wu Fengguang <[email protected]> | 2009-09-18 13:06:03 -0700 |
---|---|---|
committer | Al Viro <[email protected]> | 2009-09-24 07:47:30 -0400 |
commit | 05cc0cee6948fc11985d11557fb130645a7f69a6 (patch) | |
tree | 51c49ba648c4c6b1ed025b93d6fdb02394ab978a /lib/cpu-notifier-error-inject.c | |
parent | 7a62cc10215838286c747f86766063d5f01fcbd6 (diff) |
libfs: return error code on failed attr set
Currently all simple_attr.set handlers return 0 on success and negative
codes on error. Fix simple_attr_write() to return these error codes.
Signed-off-by: Wu Fengguang <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Nick Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions