Messages in this thread | | | Date | Tue, 20 Sep 2005 21:38:27 -0400 | From | Latchesar Ionkov <> | Subject | Re: [PATCH] v9fs-get-sb-cleanup.patch |
| |
On Wed, Sep 21, 2005 at 02:35:06AM +0100, Al Viro said: > On Tue, Sep 20, 2005 at 09:25:26PM -0400, Latchesar Ionkov wrote: > > Signed-off-by: Latchesar Ionkov <lucho@ionkov.net> > > > > if error occurs while in v9fs_get_sb, some objects are freed twice -- once > > in v9fs_get_sb, the second time when v9fs_kill_super is (indirectly > > called). > > Huh? ->kill_sb() is *NOT* called when ->get_sb() fails.
I guess I wasn't clear. If v9fs ->get_sb fails after it called sget, ->get_sb calls deactivate_super, which calls ->kill_sb().
Thanks, Lucho - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |