get_empty_inode

Name

get_empty_inode --  obtain an inode

Synopsis

struct inode * get_empty_inode ( void);

Arguments

void

no arguments

Description

This is called by things like the networking layer etc that want to get an inode without any inode number, or filesystems that allocate new inodes with no pre-existing information.

On a successful return the inode pointer is returned. On a failure a NULL pointer is returned. The returned inode is not on any superblock lists.