Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232019
b: refs/heads/master
c: 382e27d
h: refs/heads/master
i:
  232017: 24cd393
  232015: d0f66b6
v: v3
  • Loading branch information
Jan Kara authored and Linus Torvalds committed Jan 21, 2011
1 parent a6af900 commit 149806b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 987eba66e0e6aa654d60881a14731a353ee0acb4
refs/heads/master: 382e27daa542ce97c500dc357841c6416c735cc2
11 changes: 5 additions & 6 deletions trunk/mm/truncate.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,13 +549,12 @@ EXPORT_SYMBOL(truncate_pagecache);
* @inode: inode
* @newsize: new file size
*
* 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.
* 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 after all filesystem
* specific block truncation has been performed.
* Must be called with inode_mutex held and before all filesystem specific
* block truncation has been performed.
*/
void truncate_setsize(struct inode *inode, loff_t newsize)
{
Expand Down

0 comments on commit 149806b

Please sign in to comment.