Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

SuSE 11.3 - man page for inode_add_to_lists (suse section 9)

INODE_ADD_TO_LISTS(9)				    The Linux VFS				INODE_ADD_TO_LISTS(9)

NAME
inode_add_to_lists - add a new inode to relevant lists
SYNOPSIS
void inode_add_to_lists(struct super_block * sb, struct inode * inode);
ARGUMENTS
sb superblock inode belongs to inode inode to mark in use
DESCRIPTION
When an inode is allocated it needs to be accounted for, added to the in use list, the owning superblock and the inode hash. This needs to be done under the inode_lock, so export a function to do this rather than the inode lock itself. We calculate the hash list to add to here so it is all internal which requires the caller to have already set up the inode number in the inode to add.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 INODE_ADD_TO_LISTS(9)


All times are GMT -4. The time now is 03:39 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password