From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ted Ts'o Subject: Re: [PATCH v2] ext3: Convert ext3 to new truncate calling convention Date: Wed, 25 May 2011 17:41:10 -0400 Message-ID: <20110525214110.GB9520@thunk.org> References: <1306320216-19368-1-git-send-email-jack@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-ext4@vger.kernel.org, Christoph Hellwig To: Jan Kara Return-path: Received: from li9-11.members.linode.com ([67.18.176.11]:54663 "EHLO test.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756483Ab1EYVlW (ORCPT ); Wed, 25 May 2011 17:41:22 -0400 Content-Disposition: inline In-Reply-To: <1306320216-19368-1-git-send-email-jack@suse.cz> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Wed, May 25, 2011 at 12:43:36PM +0200, Jan Kara wrote: > Mostly trivial conversion. We fix a bug that IS_IMMUTABLE and IS_APPEND > files could not be truncated during failed writes as we change the code. > In fact we remove the test altogether because do_sys_[f]truncate() and > may_open() do necessary checks anyway. > > Signed-off-by: Jan Kara Thanks, added to the ext4 tree. - Ted