From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikanth Karthikesan Subject: [PATCH] Documentation: New truncate sequence: Remove reference to nonexistent ->setsize Date: Wed, 9 Jun 2010 15:29:14 +0530 Message-ID: <201006091529.14933.knikanth@suse.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, Nick Piggin , Christoph Hellwig , Jan Kara To: Alexander Viro Return-path: Received: from cantor2.suse.de ([195.135.220.15]:57162 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932087Ab0FIJ5R (ORCPT ); Wed, 9 Jun 2010 05:57:17 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: The documentation refers to ->setsize which does not exist. Remove it. Signed-off-by: Nikanth Karthikesan --- diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index 94677e7..e8b1b27 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt @@ -401,8 +401,7 @@ otherwise noted. started might not be in the page cache at the end of the walk). - truncate: Deprecated. This will not be called if ->setsize is defined. - Called by the VFS to change the size of a file. The + truncate: Deprecated. Called by the VFS to change the size of a file. The i_size field of the inode is set to the desired size by the VFS before this method is called. This method is called by the truncate(2) system call and related functionality.