Name
vmtruncate —
unmap mappings “freed” by truncate
syscall
Synopsis
int vmtruncate ( | struct inode * inode, |
| loff_t offset) ; |
Arguments
inode
inode of the file used
offset
file offset to start truncating
Description
This function is deprecated and truncate_setsize or truncate_pagecache
should be used instead, together with filesystem specific block truncation.