From patchwork Fri Jul 23 15:26:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suresh Jayaraman X-Patchwork-Id: 113923 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6NFQBhT030295 for ; Fri, 23 Jul 2010 15:26:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752880Ab0GWP0L (ORCPT ); Fri, 23 Jul 2010 11:26:11 -0400 Received: from cantor2.suse.de ([195.135.220.15]:51997 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755542Ab0GWP0L (ORCPT ); Fri, 23 Jul 2010 11:26:11 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id C901388B6C; Fri, 23 Jul 2010 17:26:09 +0200 (CEST) Message-ID: <4C49B48D.9040302@suse.de> Date: Fri, 23 Jul 2010 20:56:05 +0530 From: Suresh Jayaraman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0 MIME-Version: 1.0 To: Jeff Layton Cc: linux-cifs@vger.kernel.org Subject: Re: panic at umount in fscache code References: <20100723095229.2c5bd562@tlielax.poochiereds.net> In-Reply-To: <20100723095229.2c5bd562@tlielax.poochiereds.net> Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 23 Jul 2010 15:26:12 +0000 (UTC) diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 399b601..5480025 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -1842,8 +1842,8 @@ cifs_put_tcon(struct cifsTconInfo *tcon) CIFSSMBTDis(xid, tcon); _FreeXid(xid); - tconInfoFree(tcon); cifs_fscache_release_super_cookie(tcon); + tconInfoFree(tcon); cifs_put_smb_ses(ses); }