truncate_inode_pages_final(9)
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.