set_nlink(9) directly set an inode's link count

SYNOPSIS

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

ARGUMENTS

inode

inode

nlink

new nlink (should be non-zero)

DESCRIPTION

This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.

COPYRIGHT