lkml.org 
[lkml]   [2021]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC V2] block: reject I/O for same fd if block size changed
Date
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.

\
 
 \ /
  Last update: 2021-01-04 02:03    [W:0.040 / U:3.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site