fcntl_getlease

Name

fcntl_getlease --  Enquire what lease is currently active

Synopsis

int fcntl_getlease (struct file * filp);

Arguments

filp

the file

Description

The value returned by this function will be one of

F_RDLCK to indicate a read-only (type II) lease is held.

F_WRLCK to indicate an exclusive lease is held.

XXX

sfr & i disagree over whether F_INPROGRESS should be returned to userspace.