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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 4 Jan 2021 01:02:14 +0000 From: Chaitanya Kulkarni <Chaitanya.Kulkarni@....com> To: Minwoo Im <minwoo.im.dev@...il.com>, "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org> CC: Jens Axboe <axboe@...nel.dk>, Alexander Viro <viro@...iv.linux.org.uk>, Christoph Hellwig <hch@....de> Subject: Re: [RFC V2] block: reject I/O for same fd if block size changed On 12/30/20 08:03, Minwoo Im wrote: > > diff --git a/block/genhd.c b/block/genhd.c > index 73faec438e49..c3a73cba7c88 100644 > --- a/block/genhd.c > +++ b/block/genhd.c > @@ -81,6 +81,7 @@ bool set_capacity_and_notify(struct gendisk *disk, sector_t size) > */ > if (!capacity || !size) > return false; > + > kobject_uevent_env(&disk_to_dev(disk)->kobj, KOBJ_CHANGE, envp); > return true; > } Avoid adding extra newlines in the patch, remove above extra line in v3.
Powered by blists - more mailing lists