OSDN Git Service

smb3: change noisy error message to FYI
authorSteve French <stfrench@microsoft.com>
Thu, 9 Apr 2020 06:07:38 +0000 (01:07 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 9 Apr 2020 18:28:24 +0000 (13:28 -0500)
The noisy posix error message in readdir was supposed
to be an FYI (not enabled by default)
  CIFS VFS: XXX dev 66306, reparse 0, mode 755

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
fs/cifs/readdir.c

index 19e4a5d..50f776a 100644 (file)
@@ -246,7 +246,7 @@ cifs_posix_to_fattr(struct cifs_fattr *fattr, struct smb2_posix_info *info,
         */
        fattr->cf_mode = le32_to_cpu(info->Mode) & ~S_IFMT;
 
-       cifs_dbg(VFS, "XXX dev %d, reparse %d, mode %o",
+       cifs_dbg(FYI, "posix fattr: dev %d, reparse %d, mode %o",
                 le32_to_cpu(info->DeviceId),
                 le32_to_cpu(info->ReparseTag),
                 le32_to_cpu(info->Mode));