Re: [PATCH] ksmbd: add processed command debug log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2023-10-26 21:21 GMT+09:00, Marios Makassikis <mmakassikis@xxxxxxxxxx>:
> Additional log to help identify what command is going to be
> processed next.
There are the functions that doesn't call WORK_BUFFERS(). e.g.
smb2_handle_negotiate(), smb2_cancel, smb2_ioctl(), etc... And
duplicated prints will show from smb2_sess_setup().

int smb2_sess_setup(struct ksmbd_work *work)
{
        struct ksmbd_conn *conn = work->conn;
        struct smb2_sess_setup_req *req;
        struct smb2_sess_setup_rsp *rsp;
        struct ksmbd_session *sess;
        struct negotiate_message *negblob;
        unsigned int negblob_len, negblob_off;
        int rc = 0;

        ksmbd_debug(SMB, "Received request for session setup\n");

        WORK_BUFFERS(work, req, rsp);

Thanks!



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux