Hi,
I am currently working on implementing a simple encrypted file system using a stackable file system WrapFS. In order to do so, as I read in the WrapFS mailing list one needs to implement address space operations, which I have done and posted on my github at this link and it works fine. But now when I am trying to modify the data before being written in wrapfs_lower() function I get a blank output in files written out.
Please guide where am I going wrong in modifying the data to be written and what could be the best way to decrypt it ?

Thanks

Kunal Baweja

Undergraduate B.E. (Hons.) Computer Science
Birla Institute Of Technology & Science, Pilani
K.K. Birla Goa Campus
+91 9049655665