]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libfs: allow error return from simple attributes
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Feb 2008 12:20:26 +0000 (04:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:34 +0000 (09:22 -0800)
commit8b88b0998e35d239e74446cc30f354bdab86df89
treec13773b744cf12b1e30ec9336a4acaf21e46c6d9
parentefae09f3e99fcc1bdead7bc23a508b3bade3f82f
libfs: allow error return from simple attributes

Sometimes simple attributes might need to return an error, e.g. for
acquiring a mutex interruptibly.  In fact we have that situation in
spufs already which is the original user of the simple attributes.  This
patch merged the temporarily forked attributes in spufs back into the
main ones and allows to return errors.

[akpm@linux-foundation.org: build fix]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: <stefano.brivio@polimi.it>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg KH <greg@kroah.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/avr32/kernel/ocd.c
arch/powerpc/platforms/cell/spufs/file.c
fs/debugfs/file.c
fs/libfs.c
include/linux/fs.h
lib/fault-inject.c
virt/kvm/kvm_main.c