kernels/linux-2.4.0/drivers/md/lvm.c
/*
 * support function to get an empty inode
 *
 * Gets an empty inode to be inserted into the inode hash,
 * so that a physical volume can't be mounted.
 * This is analog to drivers/block/md.c
 *
 * Is this the real thing?
 *
 */
support function to get an empty inode
Gets an empty inode to be inserted into the inode hash,
so that a physical volume can't be mounted.
This is analog to drivers/block/md.c


support function to get an empty inode Gets an empty inode to be inserted into the inode hash so that a physical volume can ' t be mounted . This is analog to drivers / block / md . c
struct inode *lvm_get_inode(int dev)
{
	struct inode *inode_this = NULL;
	inode_this = get_empty_inode();
	inode_this->i_dev = dev;
	insert_inode_hash(inode_this);
	return inode_this;
}
struct inode * lvm_get_inode ( int dev ) { struct inode * inode_this = NULL ; inode_this = get_empty_inode ( ) ; inode_this -> i_dev = dev ; insert_inode_hash ( inode_this ) ; return inode_this ; }
support function to get an empty inode
 Gets an empty inode to be inserted into the inode hash,
 so that a physical volume can't be mounted.
support function to get an empty inode Gets an empty inode to be inserted into the inode hash so that a physical volume can ' t be mounted .
/* Lock the device by inserting a dummy inode. */