Wu Fengguang 05cc0cee69 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 <fengguang.wu@intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2009-09-24 07:47:30 -04:00
..
2009-09-23 13:03:46 -05:00
2009-07-12 12:22:34 -07:00
2009-06-11 21:36:14 -04:00
2009-09-23 07:39:29 -07:00
2009-07-12 12:22:34 -07:00
2009-09-23 07:39:28 -07:00
2009-09-23 07:39:29 -07:00
2009-06-17 00:36:36 -04:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-09-23 18:13:10 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-10 19:18:59 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-06-15 21:44:43 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 07:39:30 -07:00
2009-09-23 07:39:27 -07:00
2009-06-17 00:36:37 -04:00
2009-06-18 13:03:46 -07:00
2009-09-22 07:17:40 -07:00
2009-09-22 07:17:40 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:30 -07:00
2009-06-18 13:03:41 -07:00
2009-07-12 12:22:34 -07:00
2009-09-24 07:47:27 -04:00
2009-06-11 21:36:07 -04:00
2009-09-22 07:17:41 -07:00
2009-09-23 07:39:29 -07:00