2011/10/28 Steve French <[email protected]>:
> Pavel,
> smb2 readdir is noisy (logging every time).  Do you want to merge
> this in to an existing patch, or add it as distinct patch.
>
> Also readdir logs the "expected" return codes (status code) on
> medium to large directories since smb2_sendrcv2 is being called for
> smb2 search with the "LOG_ERROR" flag.
>
> diff --git a/fs/cifs/smb2readdir.c b/fs/cifs/smb2readdir.c
> index 7d80e8b..b4c32d5 100644
> --- a/fs/cifs/smb2readdir.c
> +++ b/fs/cifs/smb2readdir.c
> @@ -412,7 +412,6 @@ static int initiate_smb2_search(const int xid,
> struct file *file)
>        if (full_path == NULL)
>                return -ENOMEM;
>
> -       cifs_dump_mem("about to search on name: ", full_path, 4);
>        rc = SMB2_open(xid, tcon, full_path, &persistent_fid, &volatile_fid,
>                        FILE_READ_ATTRIBUTES | FILE_READ_DATA, FILE_OPEN, 0, 0,
>                        &oplock);
>
> --
> Thanks,
>
> Steve
>

Thanks! I prefer it to be included in my readdir patch - will do it
soon and reposted.

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to