Problem with debugfs

From: liguozhu
Date: Mon Sep 20 2010 - 22:33:22 EST


Hi, there,

I do not know who is the maintainer for debugfs now. But I think there is
problem with its API: It uses filp->priv->mutex to protect the read/write (to
the file) for the value of its attribute, but the mutex is not exported to the
API user. Therefore, there is no way to protect its value when you directly
use the value in your module.

Is my understanding correct?

Thanks


Best Regards
Kenneth Lee
--
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/