check_conflicting_open(9)

check_conflicting_open9

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

Usage

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

Overview

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

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.