[pso] Tema4 Linux super_block

Mugurel Ionut Andreica pso@cursuri.cs.pub.ro
Mon, 8 Aug 2005 09:04:50 -0700 (PDT)


> Deci:
> static struct super_block * pitix_get_sb(struct
> file_system_type *fs_type, int flags, const char
> *devname, void *data)
> {
>  return get_sb_single(fs_type, flags, data,
> &pitix_fill_sb);
> }
>  aici devname = "/dev/loopX", unde X incepe de la 0
> si se incrementeaza in cazul in care a ramas agatat
> pitix.ko si vreau sa mai incarc odata pitix_again.ko

   Nu am testat ce ai scris tu aici, sa vad daca se
comporta si la mine asa cum zici tu, dar.. iata cum
arata la mine functia pitix_get_sb :

return get_sb_bdev(fs_type, flags, devname, data,
&pitix_fill_sb);


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com