Wang Qing 63d6c98168 mips: kernel: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()
debugfs_create_file_unsafe does not protect the fops handed to it
against file removal. DEFINE_DEBUGFS_ATTRIBUTE makes the fops aware of
the file lifetime and thus protects it against removal.

Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-03-14 14:09:49 +01:00
..
2021-03-10 15:18:40 +01:00
2018-10-31 08:54:16 -07:00
2020-05-22 09:09:01 +02:00
2013-02-01 10:00:22 +01:00
2021-02-15 12:23:54 +01:00
2021-02-21 13:18:26 -08:00
2020-05-22 09:09:01 +02:00
2020-05-22 09:09:01 +02:00
2021-02-21 13:18:26 -08:00
2021-03-06 08:43:39 +01:00
2020-05-15 14:53:19 +02:00
2020-05-22 09:13:32 +02:00
2020-07-26 10:18:35 +02:00
2021-01-27 21:49:16 +01:00
2020-05-07 11:55:47 +02:00