Re: How to tell whether a struct file is held by a process?

From: Pantelis Koukousoulas
Date: Fri May 22 2009 - 14:48:35 EST


>> The idea is that there will be one lock file per port.  So for example,
>> a hub device with four ports might contain inside its sysfs device
>> directory: ports/1, ..., ports/4.
>
> Sounds both good to me.

Yes, I 'm happy with that solution too.

Thanks,
Pantelis
--
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/