diff mbox

Source code of SMB2 Kernel module

Message ID 4CDA4E5C.90004@nttcom.co.jp (mailing list archive)
State New, archived
Headers show

Commit Message

Shinnosuke Yagi Nov. 10, 2010, 7:48 a.m. UTC
None
diff mbox

Patch

====================================================

# 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;