mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Stephen Tweedie <sct@redhat.com>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
	Andreas Dilger <adilger@clusterfs.com>,
	"Theodore Ts'o" <tytso@mit.edu>,
	ext2-devel@lists.sourceforge.net
Subject: Re: [Ext2-devel] [Patch 6/10]: ext3 online resize: remove on-stack bogus inode
Date: Fri, 1 Oct 2004 13:45:41 +0100	[thread overview]
Message-ID: <20041001124541.GB16153@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <200409301323.i8UDNjwG004790@sisko.scot.redhat.com>

On Thu, Sep 30, 2004 at 02:23:45PM +0100, Stephen Tweedie wrote:
> Remove the "bogus" on-stack inode.  It's only used as a marker for
> indirectly passing the sb to various functions, so also add
> ext3_journal_start_sb() which starts a transaction for a given
> super_block rather than for an inode.
> 
> --- linux-2.6.9-rc2-mm4/fs/ext3/resize.c.=K0005=.orig
> +++ linux-2.6.9-rc2-mm4/fs/ext3/resize.c
> @@ -159,7 +159,7 @@ static void mark_bitmap_end(int start_bi
>   *
>   * We only pass inode because of the ext3 journal wrappers.
>   */

Should probably update the comment too ;-)

(who was it said inline documentation gets updated when the code does?  ;-P)

> @@ -616,7 +616,7 @@ exit_free:
>   *
>   * We only pass inode because of the ext3 journal wrappers.
>   */

Same here.

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

  reply	other threads:[~2004-10-01 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30 13:23 Stephen Tweedie
2004-10-01 12:45 ` Matthew Wilcox [this message]
2004-10-01 16:37   ` [Ext2-devel] " Stephen C. Tweedie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041001124541.GB16153@parcelfarce.linux.theplanet.co.uk \
    --to=matthew@wil.cx \
    --cc=adilger@clusterfs.com \
    --cc=akpm@osdl.org \
    --cc=ext2-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sct@redhat.com \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®