Konstantin,<br><br>     Yeah with further investigation i found that iattr structure for ubuntu lacks <br>     the member named <br>     &quot;   struct file     *ia_file; &quot; <br>     I guess now the problem is really inside ubuntu API changes for their<br>
     own kernels. More or less looking into the kernel source from the ubuntu<br>     it seems to be modified extensively. So i guess choice is here to only use the <br>     kernel module from the ubuntu stock itself. <br>
<br>Regards<br>--<br clear="all">Harshavardhana<br>

&quot;Yantra Shilpi&quot;<br>Z Research Inc - <a href="http://www.zresearch.com" target="_blank">http://www.zresearch.com</a><br><br>
<br><br><div class="gmail_quote">On Thu, Mar 19, 2009 at 2:32 AM, Konstantin A. Lepikhov <span dir="ltr">&lt;<a href="mailto:lakostis@unsafe.ru" target="_blank">lakostis@unsafe.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Hi Harshavardhana!<br>
<div><br>
Wednesday 18, at 07:50:56 PM you wrote:<br>
<br>
&gt; Konstantin,<br>
&gt;<br>
&gt;      Clearly as you can see there are serious API differences against openvz<br>
&gt; kernel from Ubuntu with i think normal general Ubuntu kernel release. Can<br>
&gt; you check if module compiles fine with &quot;2.6.24-21-generic&quot; ? if yes we need<br>
&gt; to look at the API changes which openvz patches bring it.<br>
&gt;<br>
&gt; Regards<br>
</div>I got the same result with latest -generic:<br>
<br>
lakostis@yahardy64:~/fuse/fuse-2.7.3glfs10$ make<br>
<div>Making all in kernel<br>
make[1]: Entering directory `/home/lakostis/fuse/fuse-2.7.3glfs10/kernel&#39;<br>
</div>make -C /usr/src/linux-headers-2.6.24-21-generic SUBDIRS=`pwd`  modules<br>
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic&#39;<br>
<div>  CC [M]  /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dev.o<br>
  CC [M]  /home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.o<br>
/home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.c: In function &#39;iattr_to_fattr&#39;:<br>
/home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.c:1027: error: &#39;struct iattr&#39; has no member named &#39;ia_file&#39;<br>
make[3]: *** [/home/lakostis/fuse/fuse-2.7.3glfs10/kernel/dir.o] Error 1<br>
make[2]: *** [_module_/home/lakostis/fuse/fuse-2.7.3glfs10/kernel] Error 2<br>
</div>make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic&#39;<br>
<div>make[1]: *** [all-spec] Error 2<br>
make[1]: Leaving directory `/home/lakostis/fuse/fuse-2.7.3glfs10/kernel&#39;<br>
make: *** [all-recursive] Error 1<br>
<br>
</div>It&#39;s not ubuntu API changes actually (see<br>
<a href="https://lists.ubuntu.com/archives/kernel-team/2008-July/002904.html" target="_blank">https://lists.ubuntu.com/archives/kernel-team/2008-July/002904.html</a>)<br>
suspect all Apparmor-depended kernels suffer from this patch :)<br>
<font color="#888888"><br>
--<br>
WBR et al.<br>
</font></blockquote></div><br>