/* A single inode exists for all anon_inode files. Contrary to pipes, anon_inode inodes have no associated per-instance data, so we need only allocate one of them.  */
static struct inode* anon_inode_mkinode(void)
/* A single inode exists for all anon_inode files. Contrary to pipes, anon_inode inodes have no associated per-instance data, so we need only allocate one of them.  */
static struct inode* anon_inode_mkinode(void)
{
	struct inode *inode = new_inode(anon_inode_mnt->mnt_sb);
	if (!inode)
		return ERR_PTR(-ENOMEM);
	inode->i_fop = &anon_inode_fops;
	inode->i_mapping->a_ops = &anon_aops;
	inode->i_state = I_DIRTY;
	inode->i_mode = S_IRUSR | S_IWUSR;
	inode->i_uid = current_fsuid();
	inode->i_gid = current_fsgid();
	inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
	return inode;
}