From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Copeland Subject: Re: [PATCH 1/2] omfs: fix potential oops when directory size is corrupted Date: Fri, 15 Aug 2008 07:35:51 -0400 Message-ID: <20080815113551.GA32649@hash.localnet> References: <1218770022-31956-1-git-send-email-me@bobcopeland.com> <20080815001956.6b16f383.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, snakebyte@gmx.de To: Andrew Morton Return-path: Received: from mail.deathmatch.net ([70.167.247.36]:2955 "EHLO mail.deathmatch.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752877AbYHOLfi (ORCPT ); Fri, 15 Aug 2008 07:35:38 -0400 Content-Disposition: inline In-Reply-To: <20080815001956.6b16f383.akpm@linux-foundation.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Aug 15, 2008 at 12:19:56AM -0700, Andrew Morton wrote: > We don't need to use i_size_write() on this code path, but we do in other > places. There's also i_size_read(). I wonder if omfs gets it right > everywhere.. Good point, probably not. I'll audit for this... -- Bob Copeland %% www.bobcopeland.com