lkml.org 
[lkml]   [2016]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] block: partition: initialize percpuref before sending out KOBJ_ADD
From
On Thu, Mar 31, 2016 at 1:43 AM, Christoph Hellwig <hch@infradead.org> wrote:
>> + if (err) {
>> + if (flags & ADDPART_FLAG_WHOLEDISK)
>> + goto out_remove_file;
>> + goto out_del;
>> + }
>
> I'd rather have that if around the actual device_remove_file at the
> label, and jump to out_remove_file unconditionally.

OK, looks better.

>
> Otherwise this looks fine to me.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-block" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

\
 
 \ /
  Last update: 2016-03-31 05:01    [W:0.046 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site