====================================================
# git diff 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;