linux 3.4.2 fails to compile with patch
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.ofs/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
Quoted 16 lines · dE .
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.ofs/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 unionfs/fs-writeback.c:561:6: error: request for member 'pages_skipped' in something not a structure or unionfs/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 'structwriteback_control*' but
Quoted 11 lines
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 unionfs/fs-writeback.c:566:29: error: request for member 'nr_to_write' in something not a structure or unionfs/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"
Quoted 3 lines
in
the body of a message to [email protected]
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
Quoted 24 lines · Ivan Shapovalov
Quoted 15 lines · 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.ofs/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 unionfs/fs-writeback.c:561:6: error: request for member 'pages_skipped' in something not a structure or unionfs/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 'structwriteback_control*' but argument is of type 'structwriteback_control**'Quoted 8 lines
fs/fs-writeback.c:565:38: error: request for member 'nr_to_write' in something not a structure or unionfs/fs-writeback.c:566:29: error: request for member 'nr_to_write' in something not a structure or unionfs/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
Quoted 13 lines
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.Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
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).
Quoted 37 lines · On Monday 17 September 2012 10:20:46 dE . wrote:
Quoted 36 lines · Ivan Shapovalov
Quoted 16 lines · 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.ofs/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 unionfs/fs-writeback.c:561:6: error: request for member 'pages_skipped' in something not a structure or unionfs/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 'structwriteback_control*' but argument is of type 'structwriteback_control**'Quoted 8 lines
fs/fs-writeback.c:565:38: error: request for member 'nr_to_write' in something not a structure or unionfs/fs-writeback.c:566:29: error: request for member 'nr_to_write' in something not a structure or unionfs/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 2Hello,
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.
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlThankyou! 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.
Quoted 2 lines
I'll test reiser4 with my root partition (without compression).