aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-01-10 04:43:54 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 11:37:08 -0500
commit00d6da9b4d6707b808481372537adb0fb38f99b3 (patch)
treef42b0127843e836ab6de73498564666ec3445748
parent4ff57935ad0f1620269f4b08e8acfda619cc5e4b (diff)
[PATCH] cdrom: kill "open failed" error message
This triggers all the time with the various polled event programs, change it to CD_OPEN so it's supressed by default. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/cdrom/cdrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c
index 153960348414..879bbc26ce96 100644
--- a/drivers/cdrom/cdrom.c
+++ b/drivers/cdrom/cdrom.c
@@ -1131,7 +1131,7 @@ int open_for_data(struct cdrom_device_info * cdi)
1131 This ensures that the drive gets unlocked after a mount fails. This 1131 This ensures that the drive gets unlocked after a mount fails. This
1132 is a goto to avoid bloating the driver with redundant code. */ 1132 is a goto to avoid bloating the driver with redundant code. */
1133clean_up_and_return: 1133clean_up_and_return:
1134 cdinfo(CD_WARNING, "open failed.\n"); 1134 cdinfo(CD_OPEN, "open failed.\n");
1135 if (CDROM_CAN(CDC_LOCK) && cdi->options & CDO_LOCK) { 1135 if (CDROM_CAN(CDC_LOCK) && cdi->options & CDO_LOCK) {
1136 cdo->lock_door(cdi, 0); 1136 cdo->lock_door(cdi, 0);
1137 cdinfo(CD_OPEN, "door unlocked.\n"); 1137 cdinfo(CD_OPEN, "door unlocked.\n");