relayfs question related to removing parent directory.

From: Ben Greear
Date: Wed May 08 2013 - 16:32:14 EST


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?

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/