'\" t .\" Title: locks_unlink_lock .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "LOCKS_UNLINK_LOCK" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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" locks_unlink_lock \- Delete a lock and then free it\&. .SH "SYNOPSIS" .HP \w'void\ locks_unlink_lock('u .BI "void locks_unlink_lock(struct\ file_lock\ **\ " "thisfl_p" ");" .SH "ARGUMENTS" .PP \fIthisfl_p\fR .RS 4 pointer that points to the fl_next field of the previous inode\->i_flock list entry .RE .SH "DESCRIPTION" .PP Unlink a lock from all lists and free the namespace reference, but don\*(Aqt free it yet\&. Wake up processes that are blocked waiting for this lock and notify the FS that the lock has been cleared\&. .PP Must be called with the i_lock held! .SH "COPYRIGHT" .br