'\" t .\" Title: clear_nlink .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "CLEAR_NLINK" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "The Linux VFS" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" clear_nlink \- directly zero an inode\*(Aqs link count .SH "SYNOPSIS" .HP \w'void\ clear_nlink('u .BI "void clear_nlink(struct\ inode\ *\ " "inode" ");" .SH "ARGUMENTS" .PP \fIstruct inode * inode\fR .RS 4 inode .RE .SH "DESCRIPTION" .PP This is a low\-level filesystem helper to replace any direct filesystem manipulation of i_nlink\&. See \fBdrop_nlink\fR for why we care about i_nlink hitting zero\&. .SH "COPYRIGHT" .br