int ntfs_read_locked_attr_inode (struct inode * base_vi, struct inode * vi);
ntfs_read_locked_attr_inode is called from the ntfs_attr_iget to read the attribute inode described by vi into memory from the base mft record described by base_ni.
ntfs_read_locked_attr_inode maps, pins and locks the base inode for reading and looks up the attribute described by vi before setting up the necessary fields in vi as well as initializing the ntfs inode.
What locks are held when the function is called?
i_state has I_LOCK set, hence the inode is locked, also i_count is set to 1, so it is not going to go away