From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH v3 1/1] vfs: iversion truncate bug fix Date: Wed, 4 Jan 2012 18:06:39 -0800 Message-ID: <20120105020639.GA1161@kroah.com> References: <1324560391.1964.8.camel@falcor> <20120104152801.d8f555ca.akpm@linux-foundation.org> <1325723630.13419.2.camel@falcor> <20120104164638.cc21fc2e.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mimi Zohar , Dmitry Kasatkin , linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org To: Andrew Morton Return-path: Received: from out5.smtp.messagingengine.com ([66.111.4.29]:50975 "EHLO out5.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757644Ab2AECGw (ORCPT ); Wed, 4 Jan 2012 21:06:52 -0500 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id F389820754 for ; Wed, 4 Jan 2012 21:06:51 -0500 (EST) Content-Disposition: inline In-Reply-To: <20120104164638.cc21fc2e.akpm@linux-foundation.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Jan 04, 2012 at 04:46:38PM -0800, Andrew Morton wrote: > On Wed, 04 Jan 2012 19:33:49 -0500 > Mimi Zohar wrote: > > > On Wed, 2012-01-04 at 15:28 -0800, Andrew Morton wrote: > > > On Thu, 22 Dec 2011 08:26:30 -0500 > > > Mimi Zohar wrote: > > > > > > > On Thu, 2011-12-22 at 12:54 +0200, Dmitry Kasatkin wrote: > > > > > When a file is truncated with truncate()/ftruncate() and then closed, > > > > > iversion is not updated. This patch uses ATTR_SIZE flag as an indication > > > > > to increment iversion. > > > > > > > > > > Signed-off-by: Dmitry Kasatkin > > > > > > > > Acked-by: Mimi Zohar > > > > (Stable should be cc'ed on this patch.) > > > > > > why? > > > > Why backported? > > Yes. If you want to submit the patch to the -stable maintainer then > you should explain to him why the fix is important enough to warrant > doing that. That involves explaining the user-visible effects of > the bug. > > > The IMA measurement list could be incomplete. > > In more detail than this. Maybe he knows what the above sentence > means, but I sure don't. Nope, I don't either :)