From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 03/26] ext4: remove extra IS_RDONLY() check Date: Sat, 23 Jun 2007 08:37:07 +0100 Message-ID: <20070623073707.GC27954@infradead.org> References: <20070622200303.82D9CC3A@kernel> <20070622200306.2C5E94C4@kernel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@osdl.org, linux-fsdevel@vger.kernel.org, hch@infradead.org, viro@ftp.linux.org.uk To: Dave Hansen Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:57529 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751755AbXFWHhL (ORCPT ); Sat, 23 Jun 2007 03:37:11 -0400 Content-Disposition: inline In-Reply-To: <20070622200306.2C5E94C4@kernel> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Jun 22, 2007 at 01:03:06PM -0700, Dave Hansen wrote: > > ext4_change_inode_journal_flag() is only called from one > location: ext4_ioctl(EXT3_IOC_SETFLAGS). That ioctl > case already has a IS_RDONLY() call in it so this one > is superfluous. Ditto.