From: Andrew Morton Subject: Re: [PATCH] fat: Fix oops on corrupted vfat fs Date: Wed, 26 Nov 2014 14:28:05 -0800 Message-ID: <20141126142805.396bda184367db070f6321d5@linux-foundation.org> References: <873896x9kf.fsf@devron.myhome.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: OGAWA Hirofumi Return-path: In-Reply-To: <873896x9kf.fsf@devron.myhome.or.jp> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, 27 Nov 2014 00:31:28 +0900 OGAWA Hirofumi wrote: > a) don't bother with ->d_time for positives - we only check it for negatives > anyway. > b) make sure to set it at unlink and rmdir time - at *that* point soon-to-be > negative dentry matches then-current directory contents > c) don't go into renaming of old alias in vfat_lookup() unless it has > the same parent (which it will, unless we are seeing corrupted image) > > Signed-off-by: Al Viro > Cc: # 3.17.x > [Make change minimum, don't call d_move() for dir] > Signed-off-by: OGAWA Hirofumi It's unclear who did the "[Make change minimum.." alteration. I do it this way: [hirofumi@mail.parknet.co.jp: make change minimum, don't call d_move() for dir] Also, who was the primary author of this patch? It *looks* like it was Al, unsure. If it was indeed Al then this can be communicated by putting his From: line at the very top of the changelog body.