From patchwork Wed Nov 10 07:48:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shinnosuke Yagi X-Patchwork-Id: 313332 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAA7oPYc007462 for ; Wed, 10 Nov 2010 07:50:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754742Ab0KJHuU (ORCPT ); Wed, 10 Nov 2010 02:50:20 -0500 Received: from email1.nttcom.co.jp ([132.222.120.23]:65301 "EHLO email1.nttcom.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754621Ab0KJHuT (ORCPT ); Wed, 10 Nov 2010 02:50:19 -0500 Received: from atmf.nttcom.co.jp (at-mf1 [10.133.179.37]) by email1.nttcom.co.jp (unknown) with ESMTP id oAA7oBpi025849; Wed, 10 Nov 2010 16:50:11 +0900 (JST) Received: from 10.133.172.233 (10.133.172.233) by Mail-Filter-Server with ESMTP; Wed, 10 Nov 2010 16:50:11 +0900 Received: from imail1i.nttcom.co.jp (imss02 [10.133.158.42]) by imail1v.nttcom.co.jp (unknown) with ESMTP id oAA7o6Em000971; Wed, 10 Nov 2010 16:50:06 +0900 (JST) Received: from [127.0.0.1] ([10.133.80.82]) by imail1i.nttcom.co.jp (unknown) with ESMTP id oAA7o4l4000861; Wed, 10 Nov 2010 16:50:06 +0900 (JST) Message-ID: <4CDA4E5C.90004@nttcom.co.jp> Date: Wed, 10 Nov 2010 16:48:44 +0900 From: Shinnosuke Yagi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Steve French CC: Suresh Jayaraman , linux-cifs@vger.kernel.org Subject: Re: Source code of SMB2 Kernel module References: <4CC65859.7040100@nttcom.co.jp> <4CC6642F.2040401@suse.de> <4CCA6FD3.4060907@nttcom.co.jp> <4CCA7177.40303@suse.de> <4CCF5DF8.9030809@nttcom.co.jp> <4CD12521.2020708@suse.de> <4CD35A27.4050605@nttcom.co.jp> <4CD76751.8010700@nttcom.co.jp> <4CD784AB.3040805@suse.de> <4CD8C4E6.5080603@nttcom.co.jp> In-Reply-To: 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 (demeter1.kernel.org [140.211.167.41]); Wed, 10 Nov 2010 07:50:26 +0000 (UTC) ==================================================== # git diff fs/smb2/smb2fs.c diff --git a/fs/smb2/smb2fs.c b/fs/smb2/smb2fs.c index aa550a3..52c9f35 100644 --- a/fs/smb2/smb2fs.c +++ b/fs/smb2/smb2fs.c @@ -57,7 +57,7 @@ static struct quotactl_ops smb2_quotactl_ops; /* Definitions of various global variables follow */ -int smb2FYI; +int smb2FYI = 1; int smb2ERROR = 1; int trace_SMB2; @@ -1059,14 +1059,19 @@ init_smb2(void) goto out_destroy_inodecache; rc = smb2_init_request_bufs(); - if (rc) + sFYI(1, "smb2_init_request_bufs %d", rc); + if (rc){ goto out_destroy_mids; + } rc = register_filesystem(&smb2_fs_type); - if (rc) + sFYI(1, "register_filesystem %d", rc); + if (rc){ goto out_destroy_request_bufs; + } rc = register_key_type(&smb2_spnego_key_type); + sFYI(1, "register_key_type %d", rc); if (rc) goto out_unregister_filesystem;