table of contents
other versions
- jessie 3.16.56-1+deb8u1
NEW_INODE(9) | The Linux VFS | NEW_INODE(9) |
NAME¶
new_inode - obtain an inodeSYNOPSIS¶
struct inode *
new_inode(struct super_block * sb);
ARGUMENTS¶
sbsuperblock
DESCRIPTION¶
Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask must be called with suitable flags on the newly created inode's mappingCOPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |