kernels/linux-2.4.0/fs/coda/cnode.c
/* the CONTROL inode is made without asking attributes from Venus */
the CONTROL inode is made without asking attributes from Venus
the CONTROL inode is made without asking attributes from Venus
int coda_cnode_makectl(struct inode **inode, struct super_block *sb)
{
    int error = 0;
    *inode = iget(sb, CTL_INO);
    if ( *inode ) {
	(*inode)->i_op = &coda_ioctl_inode_operations;
	(*inode)->i_fop = &coda_ioctl_operations;
	(*inode)->i_mode = 0444;
	error = 0;
    } else { 
	error = -ENOMEM;
    }
    return error;
}
int coda_cnode_makectl ( struct inode * * inode , struct super_block * sb ) { int error = 0 ; * inode = iget ( sb , CTL_INO ) ; if ( * inode ) { ( * inode ) -> i_op = & coda_ioctl_inode_operations ; ( * inode ) -> i_fop = & coda_ioctl_operations ; ( * inode ) -> i_mode = 0444 ; error = 0 ; } else { error = - ENOMEM ; } return error ; }
the CONTROL inode is made without asking attributes from Venus
the CONTROL inode is made without asking attributes from Venus