> A buffer head (struct buffer_head) contains pointer to data block in memory (char * b_data). A page has number of buffers mapped to it. So its like : > > list > | _________________ _______________ > ---> | | ---> | | ---> > | Buffer Head 0 | | Buffer Head 0 | NULL > |_________________| |_______________| > | | | | > | Buffer Head 1 | | Buffer Head 1 | > |_________________| |_______________| > | | | | > | ... | | ... | > |_________________| |_______________| > | | | | > | Buffer Head n | | Buffer Head m | > |_________________| |_______________| > > Page 0 Page 1 > > Actual data is pointed to by buffer heads. > So just marking the buffer dirty and syncing it will do your job. Ah, I understood that immediately. Thank you so much. Kathy -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/