From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [patch 11/15] vfs: truncate: append-only checking cleanup Date: Mon, 5 May 2008 07:12:59 -0400 Message-ID: <20080505111259.GH20910@infradead.org> References: <20080505095440.820370974@szeredi.hu> <20080505095524.893316989@szeredi.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@linux-foundation.org, hch@infradead.org, viro@ZenIV.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Miklos Szeredi Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:55475 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753837AbYEELNC (ORCPT ); Mon, 5 May 2008 07:13:02 -0400 Content-Disposition: inline In-Reply-To: <20080505095524.893316989@szeredi.hu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, May 05, 2008 at 11:54:52AM +0200, Miklos Szeredi wrote: > From: Miklos Szeredi > > Move the append-only checks from truncate to notify_change(). Checks > for append-only files are always performed by the VFS and not by the > filesystem so this belongs in notify_change(), and not in > inode_change_ok(). Looks good to me.