From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stephen C. Tweedie" Subject: Re: [Patch] ext3_journal_stop inode access Date: 20 Mar 2003 22:18:50 +0000 Sender: ext3-users-admin@redhat.com Message-ID: <1048198730.2491.626.camel@sisko.scot.redhat.com> References: <1048185825.2491.386.camel@sisko.scot.redhat.com> <20030320131523.6c56d10f.akpm@digeo.com> <1048196202.2491.603.camel@sisko.scot.redhat.com> <20030320161230.3c4e0f47.akpm@digeo.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: ext3 users list , linux-kernel , linux-fsdevel@vger.kernel.org, Stephen Tweedie Return-path: To: Andrew Morton In-Reply-To: <20030320161230.3c4e0f47.akpm@digeo.com> Errors-To: ext3-users-admin@redhat.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: linux-fsdevel.vger.kernel.org Hi,On Fri, 2003-03-21 at 00:12, Andrew Morton wrote: > > Well, there's still the > > if (err) > > __ext3_std_error(inode->i_sb, where, err); > > case in ext3_journal_stop() to worry about > > We already have that. Only if we fix the underlying problem --- I was only pointing out that even if we drop the setting of s_dirt entirely, which was what we were trying to fix, we can't avoid having to find the sb. > But I'm not particularly fussed either way - it will only be 100-200 bytes of > code saved. Yep, but there are probably other places we can find where we can avoid passing the sb around too if we have the back-pointer. I guess it makes sense to go ahead with that. > The journal and the superblock have a definite one-to-one relationship - I think the > backpointer makes sense. But whatever - I'll let you flip that coin. OK, go for it and I'll merge for 2.4. Cheers, Stephen