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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOi1vP-rSYV0NY9jhQofvp=n+CUAfQ-cyWYxV3NbbAe9VDMrnA@mail.gmail.com>
Date:   Tue, 8 Nov 2016 14:48:21 +0100
From:   Ilya Dryomov <idryomov@...il.com>
To:     Zhi Zhang <zhang.david2011@...il.com>
Cc:     Zheng Yan <zyan@...hat.com>,
        ceph-devel <ceph-devel@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ceph: fix printing wrong return variable in ceph_direct_read_write()

On Tue, Nov 8, 2016 at 10:16 AM, Zhi Zhang <zhang.david2011@...il.com> wrote:
> Fix printing wrong return variable for invalidate_inode_pages2_range
> in ceph_direct_read_write().
>
> Signed-off-by: Zhi Zhang <zhang.david2011@...il.com>
> ---
>  fs/ceph/file.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ceph/file.c b/fs/ceph/file.c
> index 18630e8..0136195 100644
> --- a/fs/ceph/file.c
> +++ b/fs/ceph/file.c
> @@ -906,7 +906,7 @@ void ceph_sync_write_wait(struct inode *inode)
>                                         pos >> PAGE_SHIFT,
>                                         (pos + count) >> PAGE_SHIFT);
>                 if (ret2 < 0)
> -                       dout("invalidate_inode_pages2_range returned
> %d\n", ret);
> +                       dout("invalidate_inode_pages2_range returned
> %d\n", ret2);
>
>                 flags = CEPH_OSD_FLAG_ORDERSNAP |
>                         CEPH_OSD_FLAG_ONDISK |
>

Applied.

(This is mangled, and had to be applied manually.  Check out
Documentation/email-clients.txt in the kernel tree.)

Thanks,

                Ilya

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ