Re: Race free attributes in sysfs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cornelia Huck
Date: Tuesday, May 22, 2007 - 1:38 am

On Mon, 21 May 2007 21:28:15 +0200,
Kay Sievers <kay.sievers@vrfy.org> wrote:


This sounds a bit hackish (overloading the meaning of the show() and
store() methods).


What about generic "conditional attribute groups"? Add a check() method
which is called just before adding them, and only add them if check()
returned 0 (or doesn't exist)?
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Race free attributes in sysfs, Pierre Ossman, (Sun May 20, 4:01 am)
Re: Race free attributes in sysfs, Dmitry Torokhov, (Sun May 20, 8:12 pm)
Re: Race free attributes in sysfs, Pierre Ossman, (Mon May 21, 12:47 am)
Re: Race free attributes in sysfs, Kay Sievers, (Mon May 21, 10:50 am)
Re: Race free attributes in sysfs, Pierre Ossman, (Mon May 21, 11:43 am)
Re: Race free attributes in sysfs, Kay Sievers, (Mon May 21, 12:28 pm)
Re: Race free attributes in sysfs, Cornelia Huck, (Tue May 22, 1:38 am)
Re: Race free attributes in sysfs, Pierre Ossman, (Tue May 22, 8:40 am)
Re: Race free attributes in sysfs, Kristian Høgsberg, (Tue May 22, 8:58 am)
Re: Race free attributes in sysfs, Mark Lord, (Tue May 22, 2:24 pm)
Re: Race free attributes in sysfs, Mark Lord, (Tue May 22, 2:25 pm)
Re: Race free attributes in sysfs, Dmitry Torokhov, (Tue May 22, 7:43 pm)
Re: Race free attributes in sysfs, Greg KH, (Tue May 22, 9:21 pm)
Re: Race free attributes in sysfs, Greg KH, (Tue May 22, 9:24 pm)
Re: Race free attributes in sysfs, Greg KH, (Tue May 22, 9:25 pm)
Re: Race free attributes in sysfs, Pierre Ossman, (Tue May 22, 10:44 pm)
Re: Race free attributes in sysfs, Mark Lord, (Wed May 23, 6:27 am)
Re: Race free attributes in sysfs, Greg KH, (Wed May 23, 8:14 am)
Re: Race free attributes in sysfs, Bill Davidsen, (Sat May 26, 9:12 am)
Re: Race free attributes in sysfs, Greg KH, (Sun May 27, 1:57 am)