lkml.org 
[lkml]   [2002]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectReleasing /proc inode numbers
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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.042 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site