int ntfs_init_locked_inode (struct inode * vi, ntfs_attr * na);
Initialize the vfs inode vi with the values from the ntfs attribute na in order to enable ntfs_test_inode to do its work.
If initializing the normal file/directory inode, set na->type to AT_UNUSED. In that case, na->name and na->name_len should be set to NULL and 0, respectively. Although that is not strictly necessary as ntfs_read_inode_locked will fill them in later.
Return 0 on success and -errno on error.
This function runs with the inode_lock spin lock held so it is not allowed to sleep. (Hence the GFP_ATOMIC allocation.)