linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rc80211_pid fails to remove debugfs files
@ 2007-12-29 22:14 Michael Buesch
  2007-12-30  8:53 ` Stefano Brivio
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Buesch @ 2007-12-29 22:14 UTC (permalink / raw)
  To: Stefano Brivio; +Cc: linux-wireless, Mattias Nissler

The rc80211_pid fails to remove the debugfs files properly.
In debugfs I see phyX directories for PHYs that are long gone.
The only content is the rc80211_pid directory with its files.

Last time I looked through the PID code I saw that it does not
do proper error checking for the creation of debugfs files.
But error checking is important, as it _will_ otherwise result
in unpredicted behaviour. Debugfs is pretty nasty. :)
For example if creation of the root directory failed, it will
put the files all into the debugfs root. And yes, this _does_
happen. We had similiar problems and bugreports from people
in b43.

So please add errorchecking.

-- 
Greetings Michael.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-30  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-29 22:14 rc80211_pid fails to remove debugfs files Michael Buesch
2007-12-30  8:53 ` Stefano Brivio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).