---
name: "lease_get_mtime"
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/lease_get_mtime"
---

# lease\_get\_mtime(9)

get the last modified time of an inode

## NAME

lease\_get\_mtime - get the last modified time of an inode

## SYNOPSIS

**void lease\_get\_mtime(struct inode \*** *inode***, struct timespec \*** *time***);**

## ARGUMENTS

*inode*

the inode

*time*

pointer to a timespec which will contain the last modified time

## DESCRIPTION

This is to force NFS clients to flush their caches for files with exclusive leases. The justification is that if someone has an exclusive lease, then they could be modifying it.

## COPYRIGHT
