added the inode lock