Skip to contentSkip to conversation

fs/jbd: set pointer = NULL, after kfree it.

PATCH Chen Gang 1 participant 1 message Jan 4, 2013

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

------- Original Message -------
From: Jan Kara <[email protected]>
To: Chen Gang <[email protected]>
Cc: [email protected]; [email protected];[email protected]
Sent: Mon, 31 Dec 2012 16:23:12 +0100
Subject: Re: [PATCH] fs/jbd: set pointer = NULL, after kfree it.

Quoted 3 lines

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.