VMTRUNCATE

Section: Memory Management in Linux (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

vmtruncate - unmap mappings lqfreedrq 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.  

COPYRIGHT