Releasing /proc inode numbers
John Bullock (jjb@sychron.com)
Fri, 24 May 2002 17:13:38 +0100 (BST)
Using kernel 2.4.9-ac10 there seems to be a bug in the releasing of
the inode numbers when unregistered proc entries. I have been a kernel
module which sets its own proc_fops->readdir function that checks a
list in the module and then unregisters/registers entries within
the directory to represent that list, one entry per item in the list. The
problem is that while the inode number for the first entry in the
directory is released and reused all the rest aren't. Obviously the inode
numbers run out.
John
-
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/