'\" t .\" Title: check_conflicting_open .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "CHECK_CONFLICTING_OP" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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" check_conflicting_open \- see if the given dentry points to a file that has an existing open that would conflict with the desired lease\&. .SH "SYNOPSIS" .HP \w'int\ check_conflicting_open('u .BI "int check_conflicting_open(const\ struct\ dentry\ *\ " "dentry" ", const\ long\ " "arg" ", int\ " "flags" ");" .SH "ARGUMENTS" .PP \fIdentry\fR .RS 4 dentry to check .RE .PP \fIarg\fR .RS 4 type of lease that we\*(Aqre trying to acquire .RE .PP \fIflags\fR .RS 4 current lock flags .RE .SH "DESCRIPTION" .PP Check to see if there\*(Aqs an existing open fd on this file that would conflict with the lease we\*(Aqre trying to set\&. .SH "COPYRIGHT" .br