login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
21
Re: [PATCH 1/2] sysfs: allow the group is_visible() method to return a mode and add an update API
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Greg KH <greg@...>
To: James Bottomley <James.Bottomley@...>
Cc: Hannes Reinecke <hare@...>, Kay Sievers <kay.sievers@...>, linux-scsi <linux-scsi@...>, linux-kernel <linux-kernel@...>
Subject:
Re: [PATCH 1/2] sysfs: allow the group is_visible() method to return a mode and add an update API
Date: Friday, March 21, 2008 - 6:26 pm
On Fri, Mar 21, 2008 at 04:27:12PM -0500, James Bottomley wrote:
quoted text
> We have a problem in scsi_transport_spi in that we need to customise > not only the visibility of the attributes, but also their mode. Fix > this by making the is_visible() callback return a mode, with 0 > indicating is not visible. > > Also add a sysfs_update_group() API to allow us to change either the > visibility or mode of the files at any time on the fly. > > Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> > --- > > Greg, can I take this through SCSI, please ... assuming it's OK? We > need this to fix up the SPI transport class.
Sure. But can you document that "update" field a bit more so we can remember what it means in the future? thanks, greg k-h --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/2] sysfs: allow the group is_visible() method to re...
, James Bottomley
, (Fri Mar 21, 5:27 pm)
Re: [PATCH 1/2] sysfs: allow the group is_visible() method t...
, Greg KH
, (Fri Mar 21, 6:26 pm)
Re: [PATCH 1/2] sysfs: allow the group is_visible() method t...
, James Bottomley
, (Sat Mar 22, 2:02 pm)
Re: [PATCH 1/2] sysfs: allow the group is_visible() method t...
, James Bottomley
, (Sun Mar 30, 12:54 pm)
Re: [PATCH 1/2] sysfs: allow the group is_visible() method t...
, Kay Sievers
, (Mon Mar 31, 9:42 am)
Re: [PATCH 1/2] sysfs: allow the group is_visible() method t...
, Greg KH
, (Wed Apr 2, 2:30 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
James Bruce
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Peter Zijlstra
[RFC/PATCH 0/4] CPUSET driven CPU isolation
git
:
linux-netdev
:
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Rick Jones
Re: Network latency regressions from 2.6.22 to 2.6.29
David Miller
[GIT]: Networking
Josip Rodin
bnx2_poll panicking kernel
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
725 guests
online.
Online users
richardayala
drzeus
maxicv84
shiatsumassager
spinalaidhudson
Syndicate