Re: get device from file struct

From: Jan Engelhardt
Date: Wed Dec 13 2006 - 05:39:08 EST



>thanks for the reply, the block device can be determined with the major
>and minor numbers , what I would be more interested in is if one can get
>the net_device struct from the file struct

Just how are you supposed to match files and network devices?


-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/