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:	Mon, 27 Apr 2015 15:04:36 +0200
From:	Christoph Hellwig <hch@....de>
To:	NeilBrown <neilb@...e.de>
Cc:	Jens Axboe <axboe@...com>, Tejun Heo <tj@...nel.org>,
	Christoph Hellwig <hch@....de>,
	lkml <linux-kernel@...r.kernel.org>, viro@...iv.linux.org.uk
Subject: Re: [PATCH] block: turn Oops into WARNING if bdi_register_dev
	fails.

On Mon, Apr 27, 2015 at 03:19:31PM +1000, NeilBrown wrote:
> 
> add_disk() does not return an error status, but it can
> still fail if there are problems elsewhere.
> 
> In particular a recent problem caused bdi_register_dev()
> to sometimes fail because the name was already in use.

I guess that's the best workaround for now, but we'll really need to tackle
the problem that add_disk can return errors proper eventually.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ