Hi
I want to lock the inode entry in the inode table from the access of any process giving inode number as the input. Again in the reverse i need to unlock the inode entry by giving inode number as input.

This i need to do because i'm securing the file,with concept that if the inode entry is locked the file cannot be accessed.

So Am i correct in the concept?
If yes give me a solution.
Thanks....