lkml.org 
[lkml]   [2008]   [Jul]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 1 Jul 2008 03:31:42 -0400
FromChristoph Hellwig <>
SubjectRe: [PATCH] (resend) reuse xxx_fifo_fops for xxx_pipe_fops
On Tue, Jul 01, 2008 at 11:03:02AM +0200, Denys Vlasenko wrote:
> Hi Andrew, Al,
> 
> I posted this patch a few months ago, but it apparently
> fell thru cracks. Here we go again.
> 
> I noticed that read/write/rdwr_pipe_fops are (1) const and
> (2) exactly identical to xxx_fifo_fops, which are also const.
> 
> Attached patch #defines xxx_pipe_fops as aliases to xxx_fifo_fops.
> Size difference:

Why do you need the #defines?  Just use the _fifo_ name directly.



\
 
 \ /
  Last update: 2008-07-01 09:35    [from the cache]
©2003-2008