Re: [PATCH] sysfs: add filter function to groups

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cornelia Huck
Date: Wednesday, October 31, 2007 - 2:41 am

On Tue, 30 Oct 2007 20:55:06 -0700,
Greg KH <greg@kroah.com> wrote:


Would it make more sense then to turn the meaning of the callback
around?

for (...) {
	if (grp->mask_out && grp->mask_out(kobj, *attr, i))
		continue;
	error |= sysfs_add_file(...);
}
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sysfs: add filter function to groups, James Bottomley, (Mon Oct 29, 8:16 am)
Re: [PATCH] sysfs: add filter function to groups, Kay Sievers, (Mon Oct 29, 9:54 am)
Re: [PATCH] sysfs: add filter function to groups, James Bottomley, (Mon Oct 29, 9:57 am)
Re: [PATCH] sysfs: add filter function to groups, Cornelia Huck, (Mon Oct 29, 10:18 am)
Re: [PATCH] sysfs: add filter function to groups, James Bottomley, (Mon Oct 29, 10:24 am)
Re: [PATCH] sysfs: add filter function to groups, Kay Sievers, (Mon Oct 29, 10:27 am)
Re: [PATCH] sysfs: add filter function to groups, Jeff Garzik, (Mon Oct 29, 10:27 am)
Re: [PATCH] sysfs: add filter function to groups, James Bottomley, (Mon Oct 29, 10:28 am)
Re: [PATCH] sysfs: add filter function to groups, James Bottomley, (Mon Oct 29, 10:29 am)
Re: [PATCH] sysfs: add filter function to groups, Kay Sievers, (Mon Oct 29, 10:43 am)
Re: [PATCH] sysfs: add filter function to groups, Stefan Richter, (Mon Oct 29, 10:58 am)
Re: [PATCH] sysfs: add filter function to groups, James Bottomley, (Mon Oct 29, 11:12 am)
Re: [PATCH] sysfs: add filter function to groups, Cornelia Huck, (Tue Oct 30, 1:55 am)
Re: [PATCH] sysfs: add filter function to groups, Cornelia Huck, (Tue Oct 30, 2:00 am)
Re: [PATCH] sysfs: add filter function to groups, James Bottomley, (Tue Oct 30, 11:25 am)
Re: [PATCH] sysfs: add filter function to groups, Stefan Richter, (Tue Oct 30, 12:31 pm)
Re: [PATCH] sysfs: add filter function to groups, Kay Sievers, (Tue Oct 30, 12:47 pm)
Re: [PATCH] sysfs: add filter function to groups, Mark M. Hoffman, (Tue Oct 30, 5:40 pm)
Re: [PATCH] sysfs: add filter function to groups, Kay Sievers, (Tue Oct 30, 7:01 pm)
Re: [PATCH] sysfs: add filter function to groups, Greg KH, (Tue Oct 30, 8:55 pm)
Re: [PATCH] sysfs: add filter function to groups, Cornelia Huck, (Wed Oct 31, 2:41 am)
Re: [PATCH] sysfs: add filter function to groups, Stefan Richter, (Wed Oct 31, 2:52 am)
Re: [PATCH] sysfs: add filter function to groups, Cornelia Huck, (Wed Oct 31, 3:20 am)
Re: [PATCH] sysfs: add filter function to groups, Stefan Richter, (Wed Oct 31, 3:37 am)
Re: [PATCH] sysfs: add filter function to groups, Mark M. Hoffman, (Wed Oct 31, 4:28 am)
Re: [PATCH] sysfs: add filter function to groups, Cornelia Huck, (Wed Oct 31, 5:19 am)
Re: [PATCH] sysfs: add filter function to groups, James Bottomley, (Wed Oct 31, 7:38 am)
Re: [PATCH] sysfs: add filter function to groups, Greg KH, (Wed Oct 31, 10:29 am)
Re: [PATCH] sysfs: add filter function to groups, James Bottomley, (Sun Nov 4, 7:12 am)
Re: [PATCH] sysfs: add filter function to groups, Greg KH, (Sun Nov 4, 12:06 pm)