I understand that the kernel locks an inode during system calls. Say for example the kernel has read an inode in main memory due to a particular system call and all the fields are set.
But i dint clearly understand how does reference count associated with an
inode work and whats its use?
-Abhishek.

