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

# truncate\_inode\_pages\_final(9)

truncate \*all\* pages before inode dies

## NAME

truncate\_inode\_pages\_final - truncate \*all\* pages before inode dies

## SYNOPSIS

**void truncate\_inode\_pages\_final(struct address\_space \*** *mapping***);**

## ARGUMENTS

*mapping*

mapping to truncate

## DESCRIPTION

Called under (and serialized by) inode-\>i\_mutex.

Filesystems have to use this in the .evict\_inode path to inform the VM that this is the final truncate and the inode is going away.

## COPYRIGHT
