Re: relayfs question related to removing parent directory.

From: Al Viro
Date: Wed May 08 2013 - 16:35:54 EST


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?
--
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/