[so2] Tema4 - write_inode
Cristian Chilipirea
cristian.chilipirea at cti.pub.ro
Wed May 2 04:47:24 EEST 2012
On Wed, May 2, 2012 at 3:34 AM, VLAD TUDOSE <vlad_tudose at yahoo.com> wrote:
>
>
> From: VLAD TUDOSE <vlad_tudose at yahoo.com>
>
> VLAD TUDOSE <vlad_tudose at yahoo.com> writes:
>
> > Salut,
> >
> > Am si eu urmatoarea problema:
> >
> > Nu se apeleaza functia de write_inode dupa ce apelez mark_inode_dirty.
> > Am avut grija sa adaug inode-ul in hash. Intamplator am descoperit ca
> > daca incrementez inode->i_count atunci se apeleaza.
>
> Problema era urmatoarea:
>
> In structura super_operations campul .drop_inode era setat la
> generic_delete_inode in loc de generic_drop_inode.
>
> Vlad
> _______________________________________________
> http://elf.cs.pub.ro/so2/wiki/resurse/lista-discutii
Nice find!
Surprinzator functia asta nenorocita a rezolvat nu numai problemele de
scriere cu inode-urile ci si cu toate bufferele.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so2/attachments/20120502/857d55af/attachment.htm>
More information about the so2
mailing list