Re: init_special_inode in 2.3.35

From: David Grothe (dave@gcom.com)
Date: Tue Jan 11 2000 - 09:43:51 EST


Alexander Viro wrote:

> _All_ ->u is off-limits for any device code. It
> belongs to hosting filesystem and to nobody else.

If a driver needs to have a private structure that associates with each "real"
file (inode instance) then what is the recommended technique? Private hash
table on major/minor? What is the officially recommended technique here.

I obviously misunderstood that the generic_ip was like a private structure
pointer in a number of other kernel control structures, such as net_device.

-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:18 EST