Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2565143ybz; Sun, 26 Apr 2020 23:19:39 -0700 (PDT) X-Google-Smtp-Source: APiQypLt59GefKTauNMmi9nv7xiKZSQ7Ej5KVvhUg8EFEI5r8EPP7jsai4CG9BAO0NI+X+K7fctq X-Received: by 2002:a17:906:138c:: with SMTP id f12mr18739744ejc.35.1587968378922; Sun, 26 Apr 2020 23:19:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587968378; cv=none; d=google.com; s=arc-20160816; b=GXAr2jXnsOmFH9S55g3V9iPYPQYEldUWf8Wwnpc3F6UkHCHnd+JBMeUqh7Y0YEfcKR zApsYOxOLG6awvEUELZr4KDVdrJrmd+kGtfjTqWymVvSdwKRx6k7tWYmeDEpfyEb4NBf fQ9SLheFfch/kItvF9hACYXGnVr78G8kL9XKrO0VWCce4XRf5rxOe08FQaRU01sFCnrD DB/VvG9T5Fc77bORy1gS6KR0Zuqo+6IuBiAdrK3r+/2S53Pn/KD6N6cjeg9nNlx/Po25 3rkWfM/9zMODqSapWKxF1gvlxIfA7kaW99RS+ioBG8RJaf3DuNNVIH2JQy69xMIvIQ1e M04A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=5dOWPOW0OCBorOS6k9gkcw9HqkZ5+PThzZ9GC79Bh7o=; b=0oZCmPCpn8xo4gi/8WgD9ezcsPZo/PhDwM6OOEXCQyHKc7VrrK8m6PY9izvE7pwG0f Fjs0w2rLuy2tVOO1/cNNrc0qOcSHXbO4cWdysBq0VwXeneh3zuGmpNvIh8UZ35+/98Xr ElOxKHYnny2xmsbRPChzMlehjuKhicpL3Nm8vIiQMzu2vzGGdAtwUiHk/UcSj//g833l f7v58tkj9A0JgG2JEmszi3xxX+rJAZrRRrN1IQa1XnckZ29GOzeclbN05213WjT6j+q3 FF3GfR4vIiGykr6ElleY5GEcVSA1v/A05AbhSo0/DrK2o8L2528khGmyrdpr5gjWYwVs vYiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj2si7718071ejb.279.2020.04.26.23.19.15; Sun, 26 Apr 2020 23:19:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726669AbgD0GRL (ORCPT + 99 others); Mon, 27 Apr 2020 02:17:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:42660 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbgD0GRL (ORCPT ); Mon, 27 Apr 2020 02:17:11 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 08024AC79; Mon, 27 Apr 2020 06:17:08 +0000 (UTC) Subject: Re: [PATCH 3/7] cdrom: factor out a cdrom_read_tocentry helper To: Christoph Hellwig , Jens Axboe Cc: Tim Waugh , Borislav Petkov , Jan Kara , linux-block@vger.kernel.org, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Damien Le Moal References: <20200425075706.721917-1-hch@lst.de> <20200425075706.721917-4-hch@lst.de> From: Hannes Reinecke Message-ID: <33e9ab6e-b444-0d54-cb4e-4b57595e5bf0@suse.de> Date: Mon, 27 Apr 2020 08:17:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200425075706.721917-4-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/25/20 9:57 AM, Christoph Hellwig wrote: > Factor out a version of the CDROMREADTOCENTRY ioctl handler that can > be called directly from kernel space. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Damien Le Moal > --- > drivers/cdrom/cdrom.c | 39 ++++++++++++++++++++++----------------- > include/linux/cdrom.h | 3 +++ > 2 files changed, 25 insertions(+), 17 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer