i am kind of stuck up with this situation.
how do i call sync from kernel without jumping out to user space.
kernel libs dont recognise sync or system("sync")
So the kernel module which implements sync doesnt gets triggered when certain interrupt gets called

PS: i am newbie to kernel programming and still on begining of my learning curve. I prayed to google and still no help from there! a little code snippet wud be of great help in understanding