[Crash-utility] [PATCH]: gcore extension, anonymous union in inode struct

Dave Anderson anderson at redhat.com
Tue Sep 11 12:50:32 UTC 2012



----- Original Message -----
> From: Per Fransson <per.fransson.ml at gmail.com>
> Subject: [Crash-utility] [PATCH]: gcore extension, anonymous union in
> inode struct
> Date: Wed, 5 Sep 2012 12:29:43 +0200
> 
> > Hi Crash people,
> > 
> > The gcore extension fails on the 3.4 kernel I'm using. It attempts to
> > find the offset of a member within the inode struct, but the member  is
> > part of an anonymous union. This patch fixes the problem for me.
> > 
> > Regards,
> > Per
> 
> Hello Per,
> 
> Thanks for reporting that. According to git repository, this was
> changed by the following commit at the v3.1 period.
> 
> $ git describe a78ef704a8dd430225955f0709b22d4a6ba21deb
> v3.1-8569-ga78ef70
> 
> $ git log -1 a78ef704a8dd430225955f0709b22d4a6ba21deb
> commit a78ef704a8dd430225955f0709b22d4a6ba21deb
> Author: Miklos Szeredi <mszeredi at suse.cz>
> Date:   Fri Oct 28 14:13:30 2011 +0200
> 
>     vfs: protect i_nlink
> 
>     Prevent direct modification of i_nlink by making it const and adding a
>     non-const __i_nlink alias.
> 
>     Signed-off-by: Miklos Szeredi <mszeredi at suse.cz>
>     Tested-by: Toshiyuki Okajima <toshi.okajima at jp.fujitsu.com>
>     Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> The patch appears fine to me so I'll apply it.
> 
> Thanks.
> HATAYAMA, Daisuke

Hi Daisuke,

Will you be updating the crash-gcore-command tar.gz package?

Thanks,
  Dave




More information about the Crash-utility mailing list