Re: relayfs question related to removing parent directory.

From: Ben Greear
Date: Wed May 08 2013 - 16:38:03 EST


On 05/08/2013 01:35 PM, Al Viro wrote:
On Wed, May 08, 2013 at 01:32:06PM -0700, Ben Greear wrote:
I'm seeing a crash when unloading the ath9k module.

It seems relay_close() is being passed bad memory.

The relay_open call uses an ath9k debugfs directory, so
that may be removed before the call to relay_close()
is called.

Does relayfs automatically close files when the parent
directory is removed?

Why and how the hell would it possibly manage such a miracle?


No idea..I'm just trying to figure out why it is crashing
....don't see anything obvious in ath9k itself, but still looking.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com

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