Re: linux 3.4.2 fails to compile with patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> >> 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).
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux