[lkml]   [2003]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: missing get_empty_inode()
On Fri, May 09, 2003 at 11:27:03AM +0200, Ralf Oehler wrote:
> Hello, list
> Currently I'm porting my driver sources from 2.4.18 to 2.4.20 an I noticed
> the absence of get_empty_inode().
> I didn't find an exported function to get a sb-less inode.

There is none. Inodes must have superblocks associated to them.

> My goal is to open sd- and an sg- devices in order to do
> ioctl(send_scsi_cmd) on them. As my driver acts as a block device driver
> (layered pseudo block device), there is no sb assigned to it.
> What is, according to the current philosophy, the cleanest code-sniplet to
> - open
> - ioctl
> - close
> an sd-device ?
> an sg-device ?

open it from userspace.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:35    [W:0.031 / U:2.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site