Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965299AbVIPLtE (ORCPT ); Fri, 16 Sep 2005 07:49:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965297AbVIPLtE (ORCPT ); Fri, 16 Sep 2005 07:49:04 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:48664 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S964861AbVIPLtD (ORCPT ); Fri, 16 Sep 2005 07:49:03 -0400 Date: Fri, 16 Sep 2005 13:49:15 +0200 From: Jens Axboe To: Thomas Maguin Cc: linux-scsi@vger.kernel.org, dgilbert@interlog.com, linux-kernel@vger.kernel.org Subject: Re: cxscan-user.patch Message-ID: <20050916114914.GD2862@suse.de> References: <200509160736.22007.T.Maguin@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200509160736.22007.T.Maguin@web.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 27 On Fri, Sep 16 2005, Thomas Maguin wrote: > please add this, which which allows normal users to make a c1-, c2- and > cu-scan (so called cxscan) with readcd on cxscan-capable cd/dvd-writers. > > > --- drivers/block/old-scsi_ioctl.c 2005-09-16 07:06:37.000000000 +0200 > +++ drivers/block/scsi_ioctl.c 2005-09-13 12:06:48.000000000 +0200 > @@ -167,6 +167,7 @@ static int verify_command(struct file *f > safe_for_write(WRITE_VERIFY_12), > safe_for_write(WRITE_16), > safe_for_write(WRITE_LONG), > + safe_for_write(WRITE_LONG_2), > safe_for_write(ERASE), > safe_for_write(GPCMD_MODE_SELECT_10), > safe_for_write(MODE_SELECT), The patch is safe, however your mailer mangled the tabs. Can you resend as an attachment, please? -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/