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

NAME

6       set_nlink - directly set an inode's link count
7

SYNOPSIS

9       void set_nlink(struct inode * inode, unsigned int nlink);
10

ARGUMENTS

12       inode
13           inode
14
15       nlink
16           new nlink (should be non-zero)
17

DESCRIPTION

19       This is a low-level filesystem helper to replace any direct filesystem
20       manipulation of i_nlink.
21
23Kernel Hackers Manual 3.10         June 2019                      SET_NLINK(9)
Impressum