[Cbe-oss-dev] [PATCH 1/2] spufs: add enchanced simple attr macros
Arnd Bergmann
arnd at arndb.de
Thu Nov 29 00:44:37 EST 2007
On Tuesday 27 November 2007, Christoph Hellwig wrote:
> 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 patch adds a local copy that allows for an
> error return from the get/set handlers.
>
> Note that I'd prefer to just change over the existing simple handlers,
> but given that the powerpc merge window closes soon I prefer to get
> it a patch that's local to spufs. I'll send out a patch for the 2.6.26
> merge window to consolidate that two again.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Since Andrew pulls in the changes from powerpc.git, maybe you can
already send him a consolidated version for 2.6.25 on top of this.
Note that the simple_attribute_* files that we have in fs/libfs.c
were added initially for spufs, and then other parts of the kernel
started using them as well.
Arnd <><
More information about the cbe-oss-dev
mailing list