locks_unlink_lock(9)

locks_unlink_lock9

Delete a lock and then free it.

Usage

void locks_unlink_lock(struct file_lock ** thisfl_p);

Arguments

thisfl_p

pointer that points to the fl_next field of the previous inode->i_flock list entry

Overview

Unlink a lock from all lists and free the namespace reference, but don't free it yet. Wake up processes that are blocked waiting for this lock and notify the FS that the lock has been cleared.

Must be called with the i_lock held!

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.