truncate_setsize man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE 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 updates i_size and performs pagecache truncation (if
       necessary) to newsize. 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 before all filesystem specific
       block truncation has been performed.

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

List of man pages available for OpenSuSE

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