Re: Procfs open hook bug.

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Jul 01 2003 - 13:33:37 EST


On Maw, 2003-07-01 at 11:55, Peter Enderborg wrote:
> And when loading this module. The procfs gets broken. I get EINVAL for
> open on
> /proc/meminfo and all other procfs info. Why? Should procfs inodes don't
> have full
> filesematics? And it don't help to unload the module.

If you look at other file systems you'll see they swap the file
operations pointer

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



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:13 EST