Remove protocol version of {mode,ino,uid,gid}_t
Now that we have enough room in the message, remove these types. Change-Id: Ib734c6f0209b259a14a1189b3886b9c8474e1b9a
This commit is contained in:
@@ -426,7 +426,7 @@ struct inode *get_inode_by_index(struct inode *parent, index_t index)
|
||||
/*===========================================================================*
|
||||
* find_inode *
|
||||
*===========================================================================*/
|
||||
struct inode *find_inode(pino_t num)
|
||||
struct inode *find_inode(ino_t num)
|
||||
{
|
||||
/* Retrieve an inode by inode number.
|
||||
*/
|
||||
@@ -442,7 +442,7 @@ struct inode *find_inode(pino_t num)
|
||||
/*===========================================================================*
|
||||
* get_inode *
|
||||
*===========================================================================*/
|
||||
struct inode *get_inode(pino_t num)
|
||||
struct inode *get_inode(ino_t num)
|
||||
{
|
||||
/* Retrieve an inode by inode number, and increase its reference count.
|
||||
*/
|
||||
|
||||
@@ -10,7 +10,7 @@ static int access_as_dir(struct inode *node, vfs_ucred_t *ucred)
|
||||
/* Check whether the given inode may be accessed as directory.
|
||||
* Return OK or an appropriate error code.
|
||||
*/
|
||||
pmode_t mask;
|
||||
mode_t mask;
|
||||
int i;
|
||||
|
||||
/* The inode must be a directory to begin with. */
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
void init_inodes(unsigned int inodes, struct inode_stat *stat, index_t
|
||||
nr_indexed_entries);
|
||||
void cleanup_inodes(void);
|
||||
struct inode *find_inode(pino_t num);
|
||||
struct inode *get_inode(pino_t num);
|
||||
struct inode *find_inode(ino_t num);
|
||||
struct inode *get_inode(ino_t num);
|
||||
void put_inode(struct inode *node);
|
||||
void ref_inode(struct inode *node);
|
||||
int get_inode_number(struct inode *node);
|
||||
|
||||
Reference in New Issue
Block a user