From: Jens Axboe <axboe@suse.de>
To: Peter Osterlund <petero2@telia.com>
Cc: Linus Torvalds <torvalds@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Can't open CDROM device for writing
Date: Fri, 2 Jul 2004 15:26:04 +0200 [thread overview]
Message-ID: <20040702132604.GT1114@suse.de> (raw)
In-Reply-To: <m2eknw3qqp.fsf@best.localdomain>
On Thu, Jul 01 2004, Peter Osterlund wrote:
> Opening a CDROM device for writing no longer works, because
> cdrom_open() returns -EROFS even if cdrom_open_write() succeeds. This
> patch for 2.6.7-bk13 fixes it.
>
> Signed-off-by: Peter Osterlund <petero2@telia.com>
>
> ---
>
> linux-petero/drivers/cdrom/cdrom.c | 1 +
> 1 files changed, 1 insertion(+)
>
> diff -puN drivers/cdrom/cdrom.c~cdrom-write-fix drivers/cdrom/cdrom.c
> --- linux/drivers/cdrom/cdrom.c~cdrom-write-fix 2004-07-01 13:16:27.772595136 +0200
> +++ linux-petero/drivers/cdrom/cdrom.c 2004-07-01 13:17:34.380469200 +0200
> @@ -901,6 +901,7 @@ int cdrom_open(struct cdrom_device_info
> goto err;
> if (cdrom_open_write(cdi))
> goto err;
> + ret = 0;
> }
> }
Indeed, thanks.
--
Jens Axboe
prev parent reply other threads:[~2004-07-02 13:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-01 11:34 [PATCH] Can't open CDROM device for writing Peter Osterlund
2004-07-02 13:26 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040702132604.GT1114@suse.de \
--to=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=petero2@telia.com \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.