summaryrefslogtreecommitdiff
path: root/include/linux/cache.h
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-09-19 00:06:03 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2009-09-24 15:47:30 +0400
commit05cc0cee6948fc11985d11557fb130645a7f69a6 (patch)
tree51c49ba648c4c6b1ed025b93d6fdb02394ab978a /include/linux/cache.h
parent7a62cc10215838286c747f86766063d5f01fcbd6 (diff)
downloadlinux-05cc0cee6948fc11985d11557fb130645a7f69a6.tar.xz
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>
Diffstat (limited to 'include/linux/cache.h')
0 files changed, 0 insertions, 0 deletions