I wanted to free a data block from disk. So I made a loop device for ext2 fs and inserted my module(code) through insmod command.
Here are the details :
I found a function named ext2_free_data() which takes block numbers to be freed as a parameter. The declaration of the function is as follows :
--
Regards,
Kashish
--
Regards,
Kashish
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies