Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4059242ybg; Fri, 25 Oct 2019 12:43:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQUtmUbzd4G6humWPTsb9Ka2XZ2/HckrrUJQ5tFUUCLA64gnPZ1RXLjf/8sDrYcPbSxOEe X-Received: by 2002:a17:906:48c6:: with SMTP id d6mr5171407ejt.291.1572032608923; Fri, 25 Oct 2019 12:43:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572032608; cv=none; d=google.com; s=arc-20160816; b=poomKCkTi9y63MWc3MDNE128B10WFfxQgTUFmJotTatNVBiU20sX90tjp5O3t6Oci8 kwA7aXWZByZ+JfNW2W3wuTdfDMWs+QhE/nox6cxE4C+0WQnD5xAAzEFRDPxrGzXmfJsG rsr+fbPiynMsUIkV8wZ4tqGXCa47aL8ChNOD8FSckpMuDERXmdY9YY2X2w27A6FI7utM fr+891QniYffwxwM0taRsgAG+ZWs1beJ7igsvJyUt4co8+cMqdglTHMGaZRe6y3e45Eh OG2jy7PRM1aKBPPKGl7Ur0K9zs/oVeiGLUQ2q0syJNl+UIVPV8Jx6pnnfqrkg68I0Duk RBbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=gpG6ce6V4aAX+Gs1rH5DaP+Lnajtj//sP2MEmovgAuA=; b=i05DpzjbSA9DgGvWvjXHjp9ZInNKIislbFQx0oJvVgs0o70XyM4FqFueLdPRQhQTR2 jsfpglyFin8+xpKhAuNkH1Rh1RUtVcVl/k8xlSH6CRy2KT4yRMpLO863r0ajdQ8/00QJ b1tL292XwXvBnyk8udpgZQj/JlPBVl/MPPIh/ftH/1PmtL/F/HufxmH9VfpRkCUFCceU lu2hIN3dOXii861XeLBcOnLDQdVc78cJh+RGp5oUBhQnOMEstvG2+uTfyiYs3lKKAVrL JYA9OeCitzbh2xPt8KCM+PQKGU+8jLCGSbo7Vsb+O4flshn20RZmAtjy8RXxqdzbmsZM jNUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oq28si1779550ejb.358.2019.10.25.12.43.05; Fri, 25 Oct 2019 12:43:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394437AbfJYKmf (ORCPT + 99 others); Fri, 25 Oct 2019 06:42:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:53626 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730471AbfJYKmf (ORCPT ); Fri, 25 Oct 2019 06:42:35 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C6C93B2FC; Fri, 25 Oct 2019 10:42:32 +0000 (UTC) Date: Fri, 25 Oct 2019 12:42:30 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Christoph Hellwig Cc: linux-scsi@vger.kernel.org, Jonathan Corbet , Jens Axboe , "James E.J. Bottomley" , "Martin K. Petersen" , Alexander Viro , Mauro Carvalho Chehab , Eric Biggers , "J. Bruce Fields" , Benjamin Coddington , Hannes Reinecke , Omar Sandoval , Ming Lei , Damien Le Moal , Bart Van Assche , Tejun Heo , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 2/8] cdrom: factor out common open_for_* code Message-ID: <20191025104230.GN938@kitsune.suse.cz> References: <20191024021958.GA11485@infradead.org> <20191024085014.GF938@kitsune.suse.cz> <20191025023908.GB14108@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191025023908.GB14108@infradead.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 24, 2019 at 07:39:08PM -0700, Christoph Hellwig wrote: > On Thu, Oct 24, 2019 at 10:50:14AM +0200, Michal Such?nek wrote: > > Then I will get complaints I do unrelated changes and it's hard to > > review. The code gets removed later anyway. > > If you refactor you you pretty much have a card blanche for the > refactored code and the direct surroundings. This is different from what other reviewers say: https://lore.kernel.org/lkml/1517245320.2687.14.camel@wdc.com/ Either way, this code is removed in a later patch so this discussion is moot. It makes sense to have a bisection point here in case something goes wrong but it is pointless to argue about the code structure inherited from the previous revision. Thanks Michal