int ntfs_test_inode (struct inode * vi, ntfs_attr * na);
Compare the ntfs attribute embedded in the ntfs specific part of the vfs inode vi for equality with the ntfs attribute na.
If searching for the normal file/directory inode, set na->type to AT_UNUSED. na->name and na->name_len are then ignored.
Return 1 if the attributes match and 0 if not.
This function runs with the inode_lock spin lock held so it is not allowed to sleep.