[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1251659443.20987.23.camel@wall-e>
Date: Sun, 30 Aug 2009 21:10:43 +0200
From: Stefani Seibold <stefani@...bold.net>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: Christoph Hellwig <hch@...radead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] Fix proc_file_write missing ppos update
Am Sonntag, den 30.08.2009, 12:09 +0400 schrieb Alexey Dobriyan:
> On Sat, Aug 29, 2009 at 07:16:50PM -0400, Christoph Hellwig wrote:
> > On Sat, Aug 29, 2009 at 06:38:12PM +0200, Stefani Seibold wrote:
> > > The following fix a long standing issue in the proc_file_write function,
> > > which doesn't update the ppos file position pointer.
> >
> > The right fix is to get rid of the last remaining
> > read_proc_t/write_proc_t instances and switch everyone to implement file
> > operations. Alexey has been working on this on and off for a while.
>
> Yes, please, ->write_proc is going to end very soon.
>
> As for prevoius arguments:
> - changing ->write_proc signature is _of course_ going to break
> out-of-tree stuff
No, it breaks nothing. You get only a warning. I think thats okay...
> - ->proc_fops worked since forever, and since it's struct file_operations,
> nobody prohibits implementing ->write with pos update and what not.
> - seq_file is not relevant to this issue because seq_file is for read path
> only.
>
> Back into SCSI pile of users.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists