Re: [PATCH] sysfs: export the vfs release call of binary attribute

2005-01-31 Thread Greg KH
On Thu, Jan 27, 2005 at 09:34:10PM +0100, Kay Sievers wrote: > On Thu, Jan 27, 2005 at 09:19:23PM +0100, Kay Sievers wrote: > > Initialize the allocated bin_attribute structure, otherwise unused fields > > are pointing to random places. > > Sorry, wrong place for the inititalization. > > Signed-o

Re: [PATCH] sysfs: export the vfs release call of binary attribute

2005-01-27 Thread Kay Sievers
On Thu, Jan 27, 2005 at 09:19:23PM +0100, Kay Sievers wrote: > Initialize the allocated bin_attribute structure, otherwise unused fields > are pointing to random places. Sorry, wrong place for the inititalization. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/pci/pci-sysfs.c 1.16

Re: [PATCH] sysfs: export the vfs release call of binary attribute

2005-01-27 Thread Kay Sievers
Initialize the allocated bin_attribute structure, otherwise unused fields are pointing to random places. Signed-off-by: Kay Sievers <[EMAIL PROTECTED]> = drivers/pci/pci-sysfs.c 1.16 vs edited = --- 1.16/drivers/pci/pci-sysfs.c2005-01-06 21:30:29 +01:00 +++ edited/drivers/pci/pci-

[PATCH] sysfs: export the vfs release call of binary attribute

2005-01-27 Thread Kay Sievers
Currently there is no way to know what time userspace has finished writing to a binary sysfs attribute bigger than one page. The firmware_class code uses its own special file in the class directory to notify about this. This can be simplified by using this release callback. Signed-off-by: Kay Siev