commit | 197b1a8263bf365d2ca8aba532352036ff95e04d | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Dec 20 16:39:59 2007 +0900 |
committer | Paul Mackerras <paulus@samba.org> | Fri Dec 21 19:46:21 2007 +1100 |
tree | 0eb09da9579f4cc047e195a2bfd8cd20ae2cb9f9 | |
parent | e65c2f6fcebb9af0c3f53c796aff730dd657f5e7 [diff] |
[POWERPC] spufs: add enchanced simple attr macros The simple attr macros currently used by spufs can't deal with the handlers returning errors, which is required to make the state_mutex interruptible. This adds a local copy that allows for an error return from the get/set handlers. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>