All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chen Gang <gang.chen@asianux.com>
To: jack@suse.cz
Cc: akpm@linux-foundation.org, linux-ext4@vger.kernel.org
Subject: Re: [PATCH] fs/jbd: set pointer = NULL, after kfree it.
Date: Fri, 04 Jan 2013 09:37:08 +0800	[thread overview]
Message-ID: <50E63244.7020706@asianux.com> (raw)


------- Original Message -------
From: Jan Kara <jack@suse.cz>
To: Chen Gang <gang.chen@asianux.com>
Cc: akpm@linux-foundation.org; jack@suse.cz;linux-ext4@vger.kernel.org
Sent: Mon, 31 Dec 2012 16:23:12 +0100
Subject: Re: [PATCH] fs/jbd: set pointer = NULL, after kfree it.

>   The journal structure will get freed immediately after we return from
> journal_init_revoke() (in case it failed) or journal_destroy_revoke() so I
> don't see a point in setting the pointers to NULL. Or do I miss something?

  ok, I can understand.

             reply	other threads:[~2013-01-04  1:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04  1:37 Chen Gang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-24  2:39 [PATCH] fs/jbd: set pointer = NULL, after kfree it Chen Gang
2012-12-31 15:23 ` Jan Kara

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=50E63244.7020706@asianux.com \
    --to=gang.chen@asianux.com \
    --cc=akpm@linux-foundation.org \
    --cc=jack@suse.cz \
    --cc=linux-ext4@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.