From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o6K7fk6c007573 for ; Tue, 20 Jul 2010 02:41:46 -0500 Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 532DB12B81F4 for ; Tue, 20 Jul 2010 00:51:25 -0700 (PDT) Received: from mail.internode.on.net (bld-mail18.adl2.internode.on.net [150.101.137.103]) by cuda.sgi.com with ESMTP id SJm9u3QsQFGEjbHh for ; Tue, 20 Jul 2010 00:51:25 -0700 (PDT) Date: Tue, 20 Jul 2010 17:44:42 +1000 From: Dave Chinner Subject: Re: [PATCH 5/6] xfs: simplify xfs_truncate_file Message-ID: <20100720074442.GJ32635@dastard> References: <20100718203848.927859114@bombadil.infradead.org> <20100718203926.590752918@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100718203926.590752918@bombadil.infradead.org> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: xfs@oss.sgi.com On Sun, Jul 18, 2010 at 04:38:53PM -0400, Christoph Hellwig wrote: > xfs_truncate_file is only used for truncating quota files. Move it to > xfs_qm_syscalls.c so it can be marked static and take advatange of the > fact by removing the unused page cache validation and taking the iget > into the helper. > > Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs