From: mike.miller@hp.com
To: akpm@osdl.org, axboe@suse.de
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, brian.b@hp.com
Subject: [PATCH 2.6] cciss: cciss_ioctl return code fix
Date: Mon, 6 Dec 2004 11:43:54 -0600 [thread overview]
Message-ID: <20041206174354.GA7017@beardog.cca.cpqcorp.net> (raw)
This patches fixes the return code from cciss_ioctl. Without this some
block layer (BLK*) ioctls do not work. Please consider this for inclusion.
Thanks to Jens Axboe for pointing this out.
Signed-off-by: Mike Miller <mike.miller@hp.com>
cciss.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--------------------------------------------------------------------------------
diff -urNp lx2610-rc3.orig/drivers/block/cciss.c lx2610-rc3/drivers/block/cciss.c
--- lx2610-rc3.orig/drivers/block/cciss.c 2004-12-06 09:36:04.844780000 -0600
+++ lx2610-rc3/drivers/block/cciss.c 2004-12-06 09:39:18.104400072 -0600
@@ -1100,7 +1100,7 @@ cleanup1:
return(status);
}
default:
- return -EBADRQC;
+ return -ENOTTY;
}
}
reply other threads:[~2004-12-06 17:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20041206174354.GA7017@beardog.cca.cpqcorp.net \
--to=mike.miller@hp.com \
--cc=akpm@osdl.org \
--cc=axboe@suse.de \
--cc=brian.b@hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®