All of lore.kernel.org
 help / color / mirror / Atom feed
* linux 3.4.2 fails to compile with patch
@ 2012-09-14  4:20 dE .
  2012-09-14 11:25 ` doiggl
       [not found] ` <1502246.NqeFiNrX3o@intelfx-laptop>
  0 siblings, 2 replies; 4+ messages in thread
From: dE . @ 2012-09-14  4:20 UTC (permalink / raw)
  To: reiserfs-devel

Hello again :)

I downloaded the recent patches for 3.2 to 3.5 kernels, and applied it 
to my 3.4.2 kernel. It results in the following --

CC      fs/fs-writeback.o
fs/fs-writeback.c: In function 'generic_writeback_sb_inodes':
fs/fs-writeback.c:560:6: error: request for member 'nr_to_write' in 
something not a structure or union
fs/fs-writeback.c:561:6: error: request for member 'pages_skipped' in 
something not a structure or union
fs/fs-writeback.c:563:3: warning: passing argument 3 of 
'writeback_single_inode' from incompatible pointer type [enabled by default]
fs/fs-writeback.c:344:1: note: expected 'struct writeback_control *' but 
argument is of type 'struct writeback_control **'
fs/fs-writeback.c:565:38: error: request for member 'nr_to_write' in 
something not a structure or union
fs/fs-writeback.c:566:29: error: request for member 'nr_to_write' in 
something not a structure or union
fs/fs-writeback.c:569:10: error: request for member 'pages_skipped' in 
something not a structure or union
make[1]: *** [fs/fs-writeback.o] Error 1
make: *** [fs] Error 2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux 3.4.2 fails to compile with patch
  2012-09-14  4:20 linux 3.4.2 fails to compile with patch dE .
@ 2012-09-14 11:25 ` doiggl
       [not found] ` <1502246.NqeFiNrX3o@intelfx-laptop>
  1 sibling, 0 replies; 4+ messages in thread
From: doiggl @ 2012-09-14 11:25 UTC (permalink / raw)
  To: reiserfs-devel

On Fri, 14 Sep 2012 09:50:03 +0530, "dE ." <de.techno@gmail.com> wrote:
> Hello again :)
> 
> I downloaded the recent patches for 3.2 to 3.5 kernels, and applied it 
> to my 3.4.2 kernel. It results in the following --
> 
> CC      fs/fs-writeback.o
> fs/fs-writeback.c: In function 'generic_writeback_sb_inodes':
> fs/fs-writeback.c:560:6: error: request for member 'nr_to_write' in 
> something not a structure or union
> fs/fs-writeback.c:561:6: error: request for member 'pages_skipped' in 
> something not a structure or union
> fs/fs-writeback.c:563:3: warning: passing argument 3 of 
> 'writeback_single_inode' from incompatible pointer type [enabled by
> default]
> fs/fs-writeback.c:344:1: note: expected 'struct writeback_control *' but

> argument is of type 'struct writeback_control **'
> fs/fs-writeback.c:565:38: error: request for member 'nr_to_write' in 
> something not a structure or union
> fs/fs-writeback.c:566:29: error: request for member 'nr_to_write' in 
> something not a structure or union
> fs/fs-writeback.c:569:10: error: request for member 'pages_skipped' in 
> something not a structure or union
> make[1]: *** [fs/fs-writeback.o] Error 1
> make: *** [fs] Error 2
> --
> To unsubscribe from this list: send the line "unsubscribe
reiserfs-devel"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Hello,
This is using the v3.5.3 kernel.
Here are my full build logs:
https://build.opensuse.org/package/rawlog?arch=i586&package=kernel-reiser4&project=home%3Adoiggl&repository=openSUSE_12.2
https://build.opensuse.org/package/rawlog?arch=x86_64&package=kernel-reiser4&project=home%3Adoiggl&repository=openSUSE_12.2

Here is the specfile I used for the build:
https://build.opensuse.org/package/view_file?file=kernel-reiser4.spec&package=kernel-reiser4&project=home%3Adoiggl&rev=a8836074c0847694a4d174755184ed35

Cheers Glenn

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux 3.4.2 fails to compile with patch
       [not found] ` <1502246.NqeFiNrX3o@intelfx-laptop>
@ 2012-09-17  4:50   ` dE .
  2012-09-17  7:24     ` Ivan Shapovalov
  0 siblings, 1 reply; 4+ messages in thread
From: dE . @ 2012-09-17  4:50 UTC (permalink / raw)
  To: reiserfs-devel

On 09/14/12 18:12, Ivan Shapovalov wrote:
> On Friday 14 September 2012 09:50:03 dE . wrote:
>> Hello again :)
>>
>> I downloaded the recent patches for 3.2 to 3.5 kernels, and applied it
>> to my 3.4.2 kernel. It results in the following --
>>
>> CC      fs/fs-writeback.o
>> fs/fs-writeback.c: In function 'generic_writeback_sb_inodes':
>> fs/fs-writeback.c:560:6: error: request for member 'nr_to_write' in
>> something not a structure or union
>> fs/fs-writeback.c:561:6: error: request for member 'pages_skipped' in
>> something not a structure or union
>> fs/fs-writeback.c:563:3: warning: passing argument 3 of
>> 'writeback_single_inode' from incompatible pointer type [enabled by default]
>> fs/fs-writeback.c:344:1: note: expected 'struct writeback_control *' but
>> argument is of type 'struct writeback_control **'
>> fs/fs-writeback.c:565:38: error: request for member 'nr_to_write' in
>> something not a structure or union
>> fs/fs-writeback.c:566:29: error: request for member 'nr_to_write' in
>> something not a structure or union
>> fs/fs-writeback.c:569:10: error: request for member 'pages_skipped' in
>> something not a structure or union
>> make[1]: *** [fs/fs-writeback.o] Error 1
>> make: *** [fs] Error 2
> Hello,
>
> The vfs layer had undergone some changes between versions 3.4 and 3.5, so a
> patch against 3.5 won't work when applied to 3.4 or earlier versions.
> Instead, please, try the attached patch.
>
> Regards,
> Ivan Shapovalov.
>
>> --
>> To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Thankyou! It works. This should be added to the SF project.

I'll test reiser4 with my root partition (without compression).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux 3.4.2 fails to compile with patch
  2012-09-17  4:50   ` dE .
@ 2012-09-17  7:24     ` Ivan Shapovalov
  0 siblings, 0 replies; 4+ messages in thread
From: Ivan Shapovalov @ 2012-09-17  7:24 UTC (permalink / raw)
  To: dE .; +Cc: reiserfs-devel, edward.shishkin

On Monday 17 September 2012 10:20:46 dE . wrote:
> On 09/14/12 18:12, Ivan Shapovalov wrote:
> > On Friday 14 September 2012 09:50:03 dE . wrote:
> >> Hello again :)
> >> 
> >> I downloaded the recent patches for 3.2 to 3.5 kernels, and applied it
> >> to my 3.4.2 kernel. It results in the following --
> >> 
> >> CC      fs/fs-writeback.o
> >> fs/fs-writeback.c: In function 'generic_writeback_sb_inodes':
> >> fs/fs-writeback.c:560:6: error: request for member 'nr_to_write' in
> >> something not a structure or union
> >> fs/fs-writeback.c:561:6: error: request for member 'pages_skipped' in
> >> something not a structure or union
> >> fs/fs-writeback.c:563:3: warning: passing argument 3 of
> >> 'writeback_single_inode' from incompatible pointer type [enabled by
> >> default] fs/fs-writeback.c:344:1: note: expected 'struct
> >> writeback_control *' but argument is of type 'struct writeback_control
> >> **'
> >> fs/fs-writeback.c:565:38: error: request for member 'nr_to_write' in
> >> something not a structure or union
> >> fs/fs-writeback.c:566:29: error: request for member 'nr_to_write' in
> >> something not a structure or union
> >> fs/fs-writeback.c:569:10: error: request for member 'pages_skipped' in
> >> something not a structure or union
> >> make[1]: *** [fs/fs-writeback.o] Error 1
> >> make: *** [fs] Error 2
> > 
> > Hello,
> > 
> > The vfs layer had undergone some changes between versions 3.4 and 3.5, so
> > a
> > patch against 3.5 won't work when applied to 3.4 or earlier versions.
> > Instead, please, try the attached patch.
> > 
> > Regards,
> > Ivan Shapovalov.
> > 
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe reiserfs-devel"
> >> in the body of a message to majordomo@vger.kernel.org
> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> Thankyou! It works. This should be added to the SF project.

Yes; especially since 3.4 is a long-term support version...

// Edward, could you please add that patch to SF? It has your final changes 
applied.

> 
> I'll test reiser4 with my root partition (without compression).

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-17  7:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-14  4:20 linux 3.4.2 fails to compile with patch dE .
2012-09-14 11:25 ` doiggl
     [not found] ` <1502246.NqeFiNrX3o@intelfx-laptop>
2012-09-17  4:50   ` dE .
2012-09-17  7:24     ` Ivan Shapovalov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.