cifs: print smb3_fs_context::source when mounting
[linux-2.6-microblaze.git] / fs / cifs / cifsfs.c
index ac9034f..32f7c81 100644 (file)
@@ -874,14 +874,12 @@ cifs_smb3_do_mount(struct file_system_type *fs_type,
        struct cifs_mnt_data mnt_data;
        struct dentry *root;
 
-       /*
-        * Prints in Kernel / CIFS log the attempted mount operation
-        *      If CIFS_DEBUG && cifs_FYI
-        */
-       if (cifsFYI)
-               cifs_dbg(FYI, "Devname: %s flags: %d\n", old_ctx->UNC, flags);
-       else
-               cifs_info("Attempting to mount %s\n", old_ctx->UNC);
+       if (cifsFYI) {
+               cifs_dbg(FYI, "%s: devname=%s flags=0x%x\n", __func__,
+                        old_ctx->source, flags);
+       } else {
+               cifs_info("Attempting to mount %s\n", old_ctx->source);
+       }
 
        cifs_sb = kzalloc(sizeof(struct cifs_sb_info), GFP_KERNEL);
        if (cifs_sb == NULL) {