2011-02-09 03:45:31

by Jayson R. King

[permalink] [raw]
Subject: 2.6.27.58-rc1 build error Re: [PATCH 20/23] tracing: Fix panic when lseek() called on "trace" opened for writing

Looks like a typo was made in this patch for 2.6.27.58-rc1:

kernel/trace/trace.c:2055: error: 'tracing_lseek' undeclared here (not
in a function)



'tracing_lseek' likely should be 'tracing_seek' in the two occurances in
this patch.

Jayson


2011-02-09 05:46:14

by Willy Tarreau

[permalink] [raw]
Subject: Re: [stable] 2.6.27.58-rc1 build error Re: [PATCH 20/23] tracing: Fix panic when lseek() called on "trace" opened for writing

On Tue, Feb 08, 2011 at 09:08:37PM -0600, Jayson R. King wrote:
> Looks like a typo was made in this patch for 2.6.27.58-rc1:
>
> kernel/trace/trace.c:2055: error: 'tracing_lseek' undeclared here
> (not in a function)
>
>
>
> 'tracing_lseek' likely should be 'tracing_seek' in the two occurances in
> this patch.

Thanks for checking Jayson. I've fixed it now. You're right, I mangled
it when applying it by hand. Unfortunately my .config did not enable
this part :-/

Thanks,
Willy