/* Fill in the inode based on the ncp_entry_info structure.  */
static void ncp_set_attr(struct inode *inode, struct ncp_entry_info *nwinfo)
/* Fill in the inode based on the ncp_entry_info structure.  */
static void ncp_set_attr(struct inode *inode, struct ncp_entry_info *nwinfo)
{
	struct ncp_server *server = NCP_SERVER(inode);
	NCP_FINFO(inode)->flags = 0;
	ncp_update_attrs(inode, nwinfo);
	DDPRINTK("ncp_read_inode: inode->i_mode = %u\n", inode->i_mode);
	inode->i_nlink = 1;
	inode->i_uid = server->m.uid;
	inode->i_gid = server->m.gid;
	ncp_update_dates(inode, &nwinfo->i);
	ncp_update_inode(inode, nwinfo);
}