Thread (2 messages) 2 messages, 2 authors, 2011-02-20

how to write modified inode back to disk?

flat view

From: kashish bhatia <hidden>
Date: 2011-02-20 18:30:39

hi all ,

here is my query :

I made a module which access a disk inode using function named
ext2_get_inode().
It returns structure pointer of disk block. I copied this structure pointer
in a variable
of same datatype as of disk inode which is present in my module.

Then I changed some fields of this disk inode ( eg. block numbers ) in the
variable.

Now I want to write these changes back to disk. In other words , I want to
write my
module's variable back into disk inode in disk.


Is there any method to do this?


-- 
Regards,
Kashish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110221/488b475e/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help