Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267705AbTGONq7 (ORCPT ); Tue, 15 Jul 2003 09:46:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267765AbTGONq7 (ORCPT ); Tue, 15 Jul 2003 09:46:59 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:63405 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S267705AbTGONq6 (ORCPT ); Tue, 15 Jul 2003 09:46:58 -0400 Date: Tue, 15 Jul 2003 16:01:50 +0200 From: Jens Axboe To: Peter Osterlund Cc: Kernel Mailing List Subject: Re: Incorrect timeout in CDROM_SEND_PACKET ioctl in 2.5 kernels Message-ID: <20030715140150.GW833@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 722 Lines: 18 On Sun, Jul 13 2003, Peter Osterlund wrote: > The CDROM_SEND_PACKET ioctl passes a struct cdrom_generic_command from > user space, which contains a timeout field. The timeout is measured in > jiffies, but the conversion from user to kernel jiffies is missing, > which makes the timeout 10 times shorter than it should be in 2.5 > kernels on x86. This causes CDRW formatting with cdrwtool to fail. The > following patch fixes this problem. Looks fine, applied. -- 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/