Welcome! Log In Create A New Profile

Advanced

Doing actions before FS unmounted

Posted by greyblake 
Doing actions before FS unmounted
January 02, 2011 06:19AM
Hello, guys!
Is there any way to do some actions before file system unmounted?
I know do_umount makes call
sb->s_op->umount_begin(sb);

But only when MNT_FORCE flag is setted. I need something similar to umount_begin that will be called everytime.

Thanks.
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 13 plus 13?
Message: