lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 6 Jun 2023 17:31:11 -0500
From:   Steve French <smfrench@...il.com>
To:     "jixianghua@...sion.com" <jxh218@....com>
Cc:     linux-cifs@...r.kernel.org, linux-kernel@...r.kernel.org,
        sfrench@...ba.org, jixianghua@...sion.com
Subject: Re: [PATCH] smb: remove obsolete comment

tentatively merged into cifs-2.6.git for-next

On Tue, Jun 6, 2023 at 10:46 AM jixianghua@...sion.com <jxh218@....com> wrote:
>
> From: 鑫华 <jixianghua@...sion.com>
>
> Because do_gettimeofday has been removed and replaced by ktime_get_real_ts64,
> So just remove the comment as it's not needed now.
>
> Signed-off-by: 鑫华 <jixianghua@...sion.com>
> ---
>  fs/smb/client/transport.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/smb/client/transport.c b/fs/smb/client/transport.c
> index 24bdd5f4d3bc..0474d0bba0a2 100644
> --- a/fs/smb/client/transport.c
> +++ b/fs/smb/client/transport.c
> @@ -55,7 +55,7 @@ alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server)
>         temp->pid = current->pid;
>         temp->command = cpu_to_le16(smb_buffer->Command);
>         cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command);
> -       /*      do_gettimeofday(&temp->when_sent);*/ /* easier to use jiffies */
> +       /* easier to use jiffies */
>         /* when mid allocated can be before when sent */
>         temp->when_alloc = jiffies;
>         temp->server = server;
> --
> 2.34.1
>


-- 
Thanks,

Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ