X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2Ftruncate.c;h=49feb46e77b8802803d20009f758ec65d2db0835;hb=2ba5e1feaab2762cdf45b490e3f342fedb33f57b;hp=3c2d5ddfa0d49f3cf31449e214d8fbd50e92ad08;hpb=23d69b09b78c4876e134f104a3814c30747c53f1;p=mv-sheeva.git diff --git a/mm/truncate.c b/mm/truncate.c index 3c2d5ddfa0d..49feb46e77b 100644 --- a/mm/truncate.c +++ b/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) {