Tag: 5103068eaca290f890a30aae70085fac44cecaf6

debugfs, coccinelle: check for obsolete DEFINE_SIMPLE_ATTRIBUTE() usage

Author: Nicolai Stange <nicstange@gmail.com> In order to protect against file removal races, debugfs files created via debugfs_create_file() now get wrapped by a struct file_operations at their opening. If the original struct file_operations are known to be safe against removal races by themselves already, the proxy creation may be bypassed by creating the files through debugfs_create_file_unsafe(). …

Continue reading