[so2] [Tema4] Truncate

Cristian Chilipirea cristian.chilipirea at cti.pub.ro
Tue May 1 17:03:21 EEST 2012


Problema:

Cand?
echo dummy \\> /tmp/pitix.mnt/lots_of_files/file0

Ce se intampla?
Se apeleaza functiile de address_space_operations in loc de truncate.
Se ajunge in pitix_get_block cu inode->i_size == 0 si create == 1

Nu se intra niciodata in truncate.

Solution please?

I appreciate any ideeas,
Cristian Chilipirea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so2/attachments/20120501/40eb15cb/attachment.htm>


More information about the so2 mailing list