Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2566253ybz; Sun, 26 Apr 2020 23:21:42 -0700 (PDT) X-Google-Smtp-Source: APiQypJN3sY8xO79GoarsQVwab1r1LVbpIn8v9FJb2T6SADvIto67XDl4twiIqZ50KHP7RlpwYur X-Received: by 2002:aa7:d7d8:: with SMTP id e24mr17700563eds.215.1587968502720; Sun, 26 Apr 2020 23:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587968502; cv=none; d=google.com; s=arc-20160816; b=JoBEXz3u/fce7ndBLMLcsJYgVJJvw5cWsA3XQdKPEyRz21mxHTXJadI+oFf4clTt3V 8Igl9HlfRMywBrp3+tJYWgMZI0JiPf3YR24WziY5teRCuKBbnB3r8mtaDM6S3rGSYR94 foG316QAhu5If96202S3xPrxKVQCo+liEFsaO5LmmE75AHwshrXIy2+P8I4SxKDZJnRV MLYTGr+jZv/7c5artNU9j5YTlf/9PatRVv/9+iOKwa7bCI9FBg9zfKL/qGlAIT4BkvaD Vjdqx2K/2fCuk+N0vc1t41E1VANubNGO6SL4Y+pJ6SvpKs1uzlpqts7hZR3bqVr2OK9l 8NpA== 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=f5oFMV74QfjQd+JKga6GC6cneRCUOu2+/8pmVMmg+bA=; b=C+rtpKpM1oug63zltUgjKBGhUeYhl6ta0BXV8WoO6kbDguRFuOJWR9JXnFJktXe+3l PYtXGKA5yT/velC1c3ofpp8Lhso0hJ+24kB+mycpDqmqh5wj+wxzhrRy/MTQUqvaZbQ/ Gxf4gd/Pib7OlgdMZ+hpuSJXHiqoKiVJF2jTTBdWQR4IJ1PicVoUNzbEcnmAyQSDCWch PY2NiSbzCD+F+fgZ671KtkQnjHDdhBELucsqelhXUQKpP6u1HBN/PngWA/9jg7i26g+2 9GrEHl/jWAKqY/mp26Nx81FS7AJ9qHV4eTgfKl7pfexQLnJcM8S4zYXdJC4TzVNJvICc 3nWA== 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 dd22si712952edb.162.2020.04.26.23.21.20; Sun, 26 Apr 2020 23:21:42 -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 S1726683AbgD0GRh (ORCPT + 99 others); Mon, 27 Apr 2020 02:17:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:42874 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbgD0GRg (ORCPT ); Mon, 27 Apr 2020 02:17:36 -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 2BEDEAC6D; Mon, 27 Apr 2020 06:17:34 +0000 (UTC) Subject: Re: [PATCH 4/7] cdrom: factor out a cdrom_multisession 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-5-hch@lst.de> From: Hannes Reinecke Message-ID: <8e52be2a-c556-201f-0454-6cfec501c3c2@suse.de> Date: Mon, 27 Apr 2020 08:17:33 +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-5-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 CDROMMULTISESSION ioctl handler that can > be called directly from kernel space. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Damien Le Moal > --- > drivers/cdrom/cdrom.c | 41 +++++++++++++++++++++++++---------------- > include/linux/cdrom.h | 2 ++ > 2 files changed, 27 insertions(+), 16 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