From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Tue, 4 Oct 2011 11:04:09 -0700 Subject: How to open and write to a block driver within a character driver? In-Reply-To: References: <20111004174618.GA12193@kroah.com> Message-ID: <20111004180409.GA15163@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, Oct 04, 2011 at 10:52:33AM -0700, Yang Xiang wrote: > The design is not up to me and I am just developing the code and I need to > develop the filter layer to convert the character buf to bio vects. But I am > wondering if there is a easy way to do this. Then I suggest you push back on the design, just because someone told you to do something incorrect, are you supposed to do it? thanks, greg k-h