Scroll to navigation

CLEAR_NLINK(9) The Linux VFS CLEAR_NLINK(9)

NAME

clear_nlink - directly zero an inode's link count

SYNOPSIS

void clear_nlink(struct inode * inode);

ARGUMENTS

struct inode * inode
inode

DESCRIPTION

This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink for why we care about i_nlink hitting zero.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11