[pso] [tema3]umount freeze - am gasit de unde era

omar Chouydary chouydary at yahoo.com
Thu May 10 00:35:11 EEST 2007


  struct super_operations pitix_sops = {
  .read_inode = pitix_read_inode, 
  .write_inode = pitix_write_inode,
  .delete_inode = pitix_delete_inode,
  .put_super = pitix_put_super,
  .statfs = pitix_statfs,
  .remount_fs = pitix_remount,
  };
   
  Tema merge struna :)
  

Florin <f.bratu at yahoo.com> wrote:
  Am mai dibuit un pic codul si am observat urmatoarele: structura mea super_operations arata asa:

struct super_operations pitix_sops = {
    .read_inode = pitix_read_inode,
    .put_super = pitix_put_super,
    .write_inode = pitix_write_inode,
    .delete_inode = pitix_delete_inode,
    .clear_inode = pitix_clear_inode,
    .statfs = pitix_statfs
};


Daca o folosesc asa, imi ingheata la umount. In schimb, daca scot clear_inode:

struct super_operations pitix_sops = {
    .read_inode = pitix_read_inode,
    .put_super = pitix_put_super,
    .write_inode = pitix_write_inode,
    .delete_inode = pitix_delete_inode,
//    .clear_inode = pitix_clear_inode,
    .statfs = pitix_statfs
};

Imi merge. Nu stiu de ce, dar pur si simplu merge, nu se mai blocheaza.
Eu am implementat clear_inode pt ca vazusem in laborator ca scria despre ea, nu inteleg exact de ce trebuie implementata neaparat. De asemenea, am vazut in sursele Minix ca nu se implementeaza clear_inode. Avand in vedere acestea, pot sa nu mai implementez nici eu clear_inode? Nu am rulat inca testul public, deci intrebarea ar fi daca o tema ce nu implementeaza clear_inode din super_operations trece testele.
    
---------------------------------
  Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos. _______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso


       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070509/d6ff2a55/attachment.html


More information about the pso mailing list