cifs: Use #define in cifs_dbg
authorJoe Perches <joe@perches.com>
Fri, 21 Feb 2020 13:20:45 +0000 (05:20 -0800)
committerSteve French <stfrench@microsoft.com>
Mon, 24 Feb 2020 20:20:38 +0000 (14:20 -0600)
All other uses of cifs_dbg use defines so change this one.

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/inode.c

index 49dbf11e2c3f9bc9293ef500e3a0bf9c5b78d131..1e8a4b1579db49791592fdba227672f01c97d806 100644 (file)
@@ -653,8 +653,8 @@ cifs_all_info_to_fattr(struct cifs_fattr *fattr, FILE_ALL_INFO *info,
                 */
                if ((fattr->cf_nlink < 1) && !tcon->unix_ext &&
                    !info->DeletePending) {
-                       cifs_dbg(1, "bogus file nlink value %u\n",
-                               fattr->cf_nlink);
+                       cifs_dbg(VFS, "bogus file nlink value %u\n",
+                                fattr->cf_nlink);
                        fattr->cf_flags |= CIFS_FATTR_UNKNOWN_NLINK;
                }
        }