From 149806b14a1dc9f2fae7dd2e0731a1e2b2f366c0 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Thu, 20 Jan 2011 14:44:26 -0800 Subject: [PATCH] --- yaml --- r: 232019 b: refs/heads/master c: 382e27daa542ce97c500dc357841c6416c735cc2 h: refs/heads/master i: 232017: 24cd393bdfb633a2cd934f878c45da18095687d5 232015: d0f66b647c7caea25beec6de02c9d834ab8dcf2d v: v3 --- [refs] | 2 +- trunk/mm/truncate.c | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 3984a170d85f..694f4d337286 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 987eba66e0e6aa654d60881a14731a353ee0acb4 +refs/heads/master: 382e27daa542ce97c500dc357841c6416c735cc2 diff --git a/trunk/mm/truncate.c b/trunk/mm/truncate.c index 3c2d5ddfa0d4..49feb46e77b8 100644 --- a/trunk/mm/truncate.c +++ b/trunk/mm/truncate.c @@ -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) {