Red Hat Bugzilla – Bug 62740
get_anon_super() can leak unnamed devices
Last modified: 2007-04-18 12:41:41 EDT
Description of Problem:
In fs/super.c:get_anon_super(), if the compare() function ever returns success,
the new super block is destroyed, but the newly allocated unnamed device doesn't
Version-Release number of selected component (if applicable):
Steps to reproduce:
while true; do
mount -t devpts devpts /tmp/pts
Soon gives "Mount table full" errors
This seems to be fixed in 2.5.x by a reorganisation of the super-block
fix backported; will appear in rawhide soon.
thanks for reporting this!