---
name: "check_conflicting_open"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/check_conflicting_open"
---

# check\_conflicting\_open(9)

see if the given dentry points to a file that has an existing open that would conflict with the desired lease.

## 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.

## SYNOPSIS

**int check\_conflicting\_open(const struct dentry \*** *dentry***, const long** *arg***, int** *flags***);**

## ARGUMENTS

*dentry*

dentry to check

*arg*

type of lease that we're trying to acquire

*flags*

current lock flags

## DESCRIPTION

Check to see if there's an existing open fd on this file that would conflict with the lease we're trying to set.

## COPYRIGHT
