1SET_NLINK(9) The Linux VFS SET_NLINK(9)
23
4
NAME
6set_nlink - directly set an inode's link count
7
SYNOPSIS
9void set_nlink(struct inode * inode, unsigned int nlink);
10
ARGUMENTS
12inode
13inode
1415
nlink
16new nlink (should be non-zero)
17
DESCRIPTION
19This is a low-level filesystem helper to replace any direct filesystem
20manipulation of i_nlink.
21
COPYRIGHT
23Kernel Hackers Manual 3.10 June 2019 SET_NLINK(9)