[PATCH v2 3/4] ntdll: Factor out get_inode_open_sharing.