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]
Message-ID: <BYAPR04MB496588C4D380E0E08A76B2EC86A30@BYAPR04MB4965.namprd04.prod.outlook.com>
Date:   Tue, 19 Jan 2021 04:48:57 +0000
From:   Chaitanya Kulkarni <Chaitanya.Kulkarni@....com>
To:     Dinghao Liu <dinghao.liu@....edu.cn>, "kjlu@....edu" <kjlu@....edu>
CC:     Jens Axboe <axboe@...nel.dk>, Jan Kara <jack@...e.cz>,
        Hannes Reinecke <hare@...e.de>,
        Johannes Thumshirn <Johannes.Thumshirn@....com>,
        Ming Lei <ming.lei@...hat.com>,
        "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [v3] block: Fix an error handling in add_partition

On 1/17/21 1:00 AM, Dinghao Liu wrote:
> Once we have called device_initialize(), we should use put_device() to
> give up the reference on error, just like what we have done on failure
> of device_add().
>
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ