Re: [PATCH 2/3] buffer writes to sysfs

2005-01-31 Thread Greg KH
On Tue, Jan 25, 2005 at 03:39:00PM -0800, Mitch Williams wrote: > > > On Mon, 24 Jan 2005, Greg KH wrote: > > > > Who is trying to send > 1K to a sysfs file? Remember, sysfs files are > > for 1 value only. If you consider > 1K a "single value" please point me > > to that part of the kernel that

Re: [PATCH 2/3] buffer writes to sysfs

2005-01-27 Thread Bill Davidsen
Mitch Williams wrote: On Mon, 24 Jan 2005, Greg KH wrote: Who is trying to send > 1K to a sysfs file? Remember, sysfs files are for 1 value only. If you consider > 1K a "single value" please point me to that part of the kernel that does that. To the typical user, there's really no difference in

Re: [PATCH 2/3] buffer writes to sysfs

2005-01-25 Thread Mitch Williams
On Mon, 24 Jan 2005, Greg KH wrote: > > Who is trying to send > 1K to a sysfs file? Remember, sysfs files are > for 1 value only. If you consider > 1K a "single value" please point me > to that part of the kernel that does that. > > > To the typical user, there's really no difference in behavio

Re: [PATCH 2/3] buffer writes to sysfs

2005-01-24 Thread Greg KH
On Mon, Jan 24, 2005 at 10:37:00AM -0800, Mitch Williams wrote: > > > On Sat, 22 Jan 2005, Greg KH wrote: > > > > > On Fri, Jan 21, 2005 at 02:52:29PM -0800, Mitch Williams wrote: > > > This patch buffers writes to sysfs files and flushes them to the > > kobject > > > owner when the file is clos

Re: [PATCH 2/3] buffer writes to sysfs

2005-01-24 Thread Mitch Williams
On Sat, 22 Jan 2005, Greg KH wrote: > > On Fri, Jan 21, 2005 at 02:52:29PM -0800, Mitch Williams wrote: > > This patch buffers writes to sysfs files and flushes them to the > kobject > > owner when the file is closed. > > Why? This breaks the way things work today, right? > > What is this patch

Re: [PATCH 2/3] buffer writes to sysfs

2005-01-22 Thread Greg KH
On Fri, Jan 21, 2005 at 02:52:29PM -0800, Mitch Williams wrote: > This patch buffers writes to sysfs files and flushes them to the kobject > owner when the file is closed. Why? This breaks the way things work today, right? What is this patch trying to fix? > > Generated from 2.6.11-rc1. > >

[PATCH 2/3] buffer writes to sysfs

2005-01-21 Thread Mitch Williams
This patch buffers writes to sysfs files and flushes them to the kobject owner when the file is closed. Generated from 2.6.11-rc1. Signed-off-by: Mitch Williams <[EMAIL PROTECTED]> diff -uprN -X dontdiff linux-2.6.11-clean/fs/sysfs/file.c linux-2.6.11/fs/sysfs/file.c --- linux-2.6.11-clean/fs/