aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2020-02-21 05:20:45 -0800
committerSteve French <stfrench@microsoft.com>2020-02-24 14:20:38 -0600
commitfb4b5f13464c468a9c10ae1ab8ba9aa352d0256a (patch)
tree5444a2e07ca9b5efc89d45e717058ff2038e678a /fs/cifs
parentcifs: fix rename() by ensuring source handle opened with DELETE bit (diff)
downloadlinux-dev-fb4b5f13464c468a9c10ae1ab8ba9aa352d0256a.tar.xz
linux-dev-fb4b5f13464c468a9c10ae1ab8ba9aa352d0256a.zip
cifs: Use #define in cifs_dbg
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>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 49dbf11e2c3f..1e8a4b1579db 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -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;
}
}