1NEW_INODE(9)                     The Linux VFS                    NEW_INODE(9)
2
3
4

NAME

6       new_inode - obtain an inode
7

SYNOPSIS

9       struct inode * new_inode(struct super_block * sb);
10

ARGUMENTS

12       sb
13           superblock
14

DESCRIPTION

16       Allocates a new inode for given superblock. The default gfp_mask for
17       allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If
18       HIGHMEM pages are unsuitable or it is known that pages allocated for
19       the page cache are not reclaimable or migratable, mapping_set_gfp_mask
20       must be called with suitable flags on the newly created inode's mapping
21
23Kernel Hackers Manual 3.10         June 2019                      NEW_INODE(9)
Impressum