<div class="gmail_extra"><div class="gmail_quote">On Wed, May 2, 2012 at 3:34 AM, VLAD TUDOSE <span dir="ltr"><<a href="mailto:vlad_tudose@yahoo.com" target="_blank">vlad_tudose@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
From: VLAD TUDOSE <<a href="mailto:vlad_tudose@yahoo.com">vlad_tudose@yahoo.com</a>><br>
<div class="im"><br>
VLAD TUDOSE <<a href="mailto:vlad_tudose@yahoo.com">vlad_tudose@yahoo.com</a>> writes:<br>
<br>
> Salut,<br>
><br>
> Am si eu urmatoarea problema:<br>
><br>
> Nu se apeleaza functia de write_inode dupa ce apelez mark_inode_dirty.<br>
> Am avut grija sa adaug inode-ul in hash. Intamplator am descoperit ca<br>
> daca incrementez inode->i_count atunci se apeleaza.<br>
<br>
</div>Problema era urmatoarea:<br>
<br>
In structura super_operations campul .drop_inode era setat la generic_delete_inode in loc de generic_drop_inode.<br>
<br>
Vlad<br>
_______________________________________________<br>
<a href="http://elf.cs.pub.ro/so2/wiki/resurse/lista-discutii" target="_blank">http://elf.cs.pub.ro/so2/wiki/resurse/lista-discutii</a></blockquote></div><br>Nice find!<br>Surprinzator functia asta nenorocita a rezolvat nu numai problemele de scriere cu inode-urile ci si cu toate bufferele.<br>
</div>