truncate_setsize man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

TRUNCATE_SETSIZE(9)	  Memory Management in Linux	   TRUNCATE_SETSIZE(9)

NAME
       truncate_setsize - update inode and pagecache for a new file size

SYNOPSIS
       void truncate_setsize(struct inode * inode, loff_t newsize);

ARGUMENTS
       inode
	   inode

       newsize
	   new file size

DESCRIPTION
       truncate_setsize updastes i_size update and performs pagecache
       truncation (if necessary) for a file size updates. It will be typically
       be called from the filesystem´s setattr function when ATTR_SIZE is
       passed in.

       Must be called with inode_mutex held and after all filesystem specific
       block truncation has been performed.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		   TRUNCATE_SETSIZE(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net